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