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