a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
43 lines
743 B
Nix
Executable file
43 lines
743 B
Nix
Executable file
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, cffi
|
|
, hypothesis
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zstandard";
|
|
version = "0.19.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-MdEvzZQt2Nv1LKX2sbvih/ROXVUaCBqYP/PqIIKGeGM=";
|
|
};
|
|
|
|
propagatedNativeBuildInputs = [
|
|
cffi
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
cffi
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
hypothesis
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"zstandard"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "zstandard bindings for Python";
|
|
homepage = "https://github.com/indygreg/python-zstandard";
|
|
license = licenses.bsdOriginal;
|
|
maintainers = with maintainers; [ arnoldfarkas ];
|
|
};
|
|
}
|