aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/zstandard/default.nix
blob: bcac246e8f62ed80258e96e8ba9791e8362f8bfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ 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 ];
  };
}