diff options
Diffstat (limited to 'pkgs/development/python-modules/zstandard/default.nix')
-rwxr-xr-x | pkgs/development/python-modules/zstandard/default.nix | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/zstandard/default.nix b/pkgs/development/python-modules/zstandard/default.nix index 856ca0ee02499..5c0536166aab5 100755 --- a/pkgs/development/python-modules/zstandard/default.nix +++ b/pkgs/development/python-modules/zstandard/default.nix @@ -3,27 +3,41 @@ , fetchPypi , cffi , hypothesis +, pythonOlder }: buildPythonPackage rec { pname = "zstandard"; version = "0.17.0"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; sha256 = "fa9194cb91441df7242aa3ddc4cb184be38876cb10dd973674887f334bafbfb6"; }; - propagatedNativeBuildInputs = [ cffi ]; + propagatedNativeBuildInputs = [ + cffi + ]; + + propagatedBuildInputs = [ + cffi + ]; - propagatedBuildInputs = [ cffi ]; + checkInputs = [ + hypothesis + ]; - checkInputs = [ hypothesis ]; + pythonImportsCheck = [ + "zstandard" + ]; meta = with lib; { description = "zstandard bindings for Python"; homepage = "https://github.com/indygreg/python-zstandard"; license = licenses.bsdOriginal; - maintainers = [ maintainers.arnoldfarkas ]; + maintainers = with maintainers; [ arnoldfarkas ]; }; } |