Merge pull request #165417 from SuperSandro2000/zstandard
This commit is contained in:
commit
2e162a07e0
1 changed files with 18 additions and 4 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue