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