forked from mirrors/nixpkgs
29 lines
586 B
Nix
29 lines
586 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, cffi
|
||
|
, hypothesis
|
||
|
, zstd
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "zstandard";
|
||
|
version = "0.13.0";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "e5cbd8b751bd498f275b0582f449f92f14e64f4e03b5bf51c571240d40d43561";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [ cffi zstd ];
|
||
|
|
||
|
checkInputs = [ hypothesis ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "zstandard bindings for Python";
|
||
|
homepage = "https://github.com/indygreg/python-zstandard";
|
||
|
license = licenses.bsdOriginal;
|
||
|
maintainers = [ maintainers.arnoldfarkas ];
|
||
|
};
|
||
|
}
|