nixpkgs/pkgs/development/python-modules/zstandard/default.nix
2020-02-14 18:35:36 +02:00

29 lines
586 B
Nix
Executable File

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