2020-02-14 17:35:36 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, cffi
|
|
|
|
, hypothesis
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zstandard";
|
2021-03-24 10:28:33 +01:00
|
|
|
version = "0.15.2";
|
2020-08-25 04:07:09 +02:00
|
|
|
|
2020-02-14 17:35:36 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 10:28:33 +01:00
|
|
|
sha256 = "52de08355fd5cfb3ef4533891092bb96229d43c2069703d4aff04fdbedf9c92f";
|
2020-02-14 17:35:36 +01:00
|
|
|
};
|
2020-08-25 04:07:09 +02:00
|
|
|
|
2020-07-02 21:34:20 +02:00
|
|
|
propagatedBuildInputs = [ cffi ];
|
2020-08-25 04:07:09 +02:00
|
|
|
|
2020-02-14 17:35:36 +01:00
|
|
|
checkInputs = [ hypothesis ];
|
2020-08-25 04:07:09 +02:00
|
|
|
|
2020-02-14 17:35:36 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "zstandard bindings for Python";
|
|
|
|
homepage = "https://github.com/indygreg/python-zstandard";
|
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
maintainers = [ maintainers.arnoldfarkas ];
|
|
|
|
};
|
|
|
|
}
|