python312Packages.fe25519: refactor, python312Packages.ge25519: refactor (#371400)

authored by Nick Cao and committed by GitHub 399d2f74 315f5fbd

+16 -26
+8 -13
pkgs/development/python-modules/fe25519/default.nix
··· 5 fetchPypi, 6 fountains, 7 parts, 8 pytestCheckHook, 9 pythonOlder, 10 setuptools, 11 - wheel, 12 }: 13 14 buildPythonPackage rec { 15 pname = "fe25519"; 16 version = "1.5.0"; 17 - format = "pyproject"; 18 19 disabled = pythonOlder "3.7"; 20 ··· 23 hash = "sha256-la+17tPHjceMTe7Wk8DGVaSptk8XJa+l7GTeqLIFDvs="; 24 }; 25 26 - nativeBuildInputs = [ 27 - setuptools 28 - wheel 29 - ]; 30 31 - propagatedBuildInputs = [ 32 bitlist 33 fountains 34 parts 35 ]; 36 37 - nativeCheckInputs = [ pytestCheckHook ]; 38 - 39 - postPatch = '' 40 - substituteInPlace pyproject.toml \ 41 - --replace "--doctest-modules --ignore=docs --cov=fe25519 --cov-report term-missing" "" 42 - ''; 43 44 pythonImportsCheck = [ "fe25519" ]; 45
··· 5 fetchPypi, 6 fountains, 7 parts, 8 + pytest-cov-stub, 9 pytestCheckHook, 10 pythonOlder, 11 setuptools, 12 }: 13 14 buildPythonPackage rec { 15 pname = "fe25519"; 16 version = "1.5.0"; 17 + pyproject = true; 18 19 disabled = pythonOlder "3.7"; 20 ··· 23 hash = "sha256-la+17tPHjceMTe7Wk8DGVaSptk8XJa+l7GTeqLIFDvs="; 24 }; 25 26 + build-system = [ setuptools ]; 27 28 + dependencies = [ 29 bitlist 30 fountains 31 parts 32 ]; 33 34 + nativeCheckInputs = [ 35 + pytest-cov-stub 36 + pytestCheckHook 37 + ]; 38 39 pythonImportsCheck = [ "fe25519" ]; 40
+8 -13
pkgs/development/python-modules/ge25519/default.nix
··· 6 fetchPypi, 7 fountains, 8 parts, 9 pytestCheckHook, 10 pythonOlder, 11 setuptools, 12 - wheel, 13 }: 14 15 buildPythonPackage rec { 16 pname = "ge25519"; 17 version = "1.5.1"; 18 - format = "pyproject"; 19 20 disabled = pythonOlder "3.7"; 21 ··· 24 hash = "sha256-VKDPiSdufWwrNcZSRTByFU4YGoJrm48TDm1nt4VyclA="; 25 }; 26 27 - nativeBuildInputs = [ 28 - setuptools 29 - wheel 30 - ]; 31 32 - propagatedBuildInputs = [ 33 fe25519 34 parts 35 bitlist 36 fountains 37 ]; 38 39 - nativeCheckInputs = [ pytestCheckHook ]; 40 - 41 - postPatch = '' 42 - substituteInPlace pyproject.toml \ 43 - --replace "--doctest-modules --ignore=docs --cov=ge25519 --cov-report term-missing" "" 44 - ''; 45 46 pythonImportsCheck = [ "ge25519" ]; 47
··· 6 fetchPypi, 7 fountains, 8 parts, 9 + pytest-cov-stub, 10 pytestCheckHook, 11 pythonOlder, 12 setuptools, 13 }: 14 15 buildPythonPackage rec { 16 pname = "ge25519"; 17 version = "1.5.1"; 18 + pyproject = true; 19 20 disabled = pythonOlder "3.7"; 21 ··· 24 hash = "sha256-VKDPiSdufWwrNcZSRTByFU4YGoJrm48TDm1nt4VyclA="; 25 }; 26 27 + build-system = [ setuptools ]; 28 29 + dependencies = [ 30 fe25519 31 parts 32 bitlist 33 fountains 34 ]; 35 36 + nativeCheckInputs = [ 37 + pytest-cov-stub 38 + pytestCheckHook 39 + ]; 40 41 pythonImportsCheck = [ "ge25519" ]; 42