depot/third_party/nixpkgs/pkgs/development/python-modules/zstandard/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

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