python312Packages.zipstream-ng: switch to pypa builder

This commit is contained in:
natsukium 2024-11-02 22:44:50 +09:00
parent 43be78d480
commit e7bf5fb758
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -4,12 +4,13 @@
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "zipstream-ng";
version = "1.8.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -20,6 +21,8 @@ buildPythonPackage rec {
hash = "sha256-mmPxzml+gaVg2IQ/Gql+3ru0hHosbyX4WjLCMxD/MJw=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "zipstream" ];
nativeCheckInputs = [ pytestCheckHook ];