nixpkgs/pkgs/development/python-modules/zstandard/default.nix
2020-12-30 10:55:32 -08:00

28 lines
564 B
Nix
Executable file

{ lib
, buildPythonPackage
, fetchPypi
, cffi
, hypothesis
}:
buildPythonPackage rec {
pname = "zstandard";
version = "0.15.0";
src = fetchPypi {
inherit pname version;
sha256 = "22395e97bcfdb222246da4fdf8739ed762ffce1e5d0b526eb051c90da20268d7";
};
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 ];
};
}