1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "safe-pysha3"; 11 version = "1.0.5"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.9"; 15 16 src = fetchPypi { 17 pname = "safe_pysha3"; 18 inherit version; 19 hash = "sha256-iM6q1q9La97NL1SzGtDl5eIQ1PXsq7G9H9NTmtYbe/E="; 20 }; 21 22 build-system = [ 23 setuptools 24 ]; 25 26 pythonImportsCheck = [ "sha3" ]; 27 28 meta = { 29 changelog = "https://github.com/5afe/pysha3/releases/tag/v${version}"; 30 description = "SHA-3 (Keccak) for Python 3.9 - 3.13"; 31 homepage = "https://github.com/5afe/pysha3"; 32 license = lib.licenses.psfl; 33 maintainers = with lib.maintainers; [ wegank ]; 34 }; 35}