1{ lib
2, buildPythonPackage
3, fetchPypi
4, cffi
5, hypothesis
6}:
7
8buildPythonPackage rec {
9 pname = "zstandard";
10 version = "0.15.2";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "52de08355fd5cfb3ef4533891092bb96229d43c2069703d4aff04fdbedf9c92f";
15 };
16
17 propagatedBuildInputs = [ cffi ];
18
19 checkInputs = [ hypothesis ];
20
21 meta = with lib; {
22 description = "zstandard bindings for Python";
23 homepage = "https://github.com/indygreg/python-zstandard";
24 license = licenses.bsdOriginal;
25 maintainers = [ maintainers.arnoldfarkas ];
26 };
27}