python3Packages.safe-pysha3: 1.0.4 -> 1.0.5 (#419926)

authored by Weijia Wang and committed by GitHub c2770064 a201258e

+12 -11
+12 -11
pkgs/development/python-modules/safe-pysha3/default.nix
··· 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 }: 7 8 buildPythonPackage rec { 9 pname = "safe-pysha3"; 10 - version = "1.0.4"; 11 - format = "setuptools"; 12 - disabled = pythonOlder "3.8"; 13 14 src = fetchPypi { 15 - inherit pname version; 16 - hash = "sha256-5CkUax7dGYssqTSiBGplZWxdMbDsiUu9YFUSf03q/xc="; 17 }; 18 19 - # AttributeError: 'Keccak_224Tests' object has no attribute 'failIf'. 20 - postPatch = '' 21 - substituteInPlace tests.py \ 22 - --replace "failIf" "assertFalse" 23 - ''; 24 25 pythonImportsCheck = [ "sha3" ]; 26 27 meta = { 28 changelog = "https://github.com/5afe/pysha3/releases/tag/v${version}"; 29 - description = "SHA-3 (Keccak) for Python 3.9 - 3.11"; 30 homepage = "https://github.com/5afe/pysha3"; 31 license = lib.licenses.psfl; 32 maintainers = with lib.maintainers; [ wegank ];
··· 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 + setuptools, 6 pythonOlder, 7 }: 8 9 buildPythonPackage 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 ];