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