depot/third_party/nixpkgs/pkgs/development/python-modules/zstandard/default.nix

30 lines
607 B
Nix
Raw Normal View History

{ 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 ];
};
}