Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / zstandard / default.nix
blobae75db9f7b137e9ce80b975bd4eed6f7c904f96b
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , cffi
5 , hypothesis
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "zstandard";
11   version = "0.22.0";
12   format = "setuptools";
14   disabled = pythonOlder "3.6";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-giajPFQry1TNa9CjZgZ7YQtBcTtkyavsG8RTPWn1HnA=";
19   };
21   propagatedNativeBuildInputs = [
22     cffi
23   ];
25   propagatedBuildInputs = [
26     cffi
27   ];
29   nativeCheckInputs = [
30     hypothesis
31   ];
33   pythonImportsCheck = [
34     "zstandard"
35   ];
37   meta = with lib; {
38     description = "zstandard bindings for Python";
39     homepage = "https://github.com/indygreg/python-zstandard";
40     license = licenses.bsdOriginal;
41     maintainers = with maintainers; [ arnoldfarkas ];
42   };