nixpkgs/pkgs/development/python-modules/zstandard/default.nix
2021-10-31 06:01:37 +00:00

30 lines
607 B
Nix
Executable File

{ lib
, buildPythonPackage
, fetchPypi
, cffi
, hypothesis
}:
buildPythonPackage rec {
pname = "zstandard";
version = "0.16.0";
src = fetchPypi {
inherit pname version;
sha256 = "eaae2d3e8fdf8bfe269628385087e4b648beef85bb0c187644e7df4fb0fe9046";
};
propagatedNativeBuildInputs = [ cffi ];
propagatedBuildInputs = [ cffi ];
checkInputs = [ hypothesis ];
meta = with lib; {
description = "zstandard bindings for Python";
homepage = "https://github.com/indygreg/python-zstandard";
license = licenses.bsdOriginal;
maintainers = [ maintainers.arnoldfarkas ];
};
}