about summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-snappy/default.nix
blob: 1dfb5b83a6b57da7fdadd5bf9e574630d4302fb8 (plain) (blame)
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
29
30
31
32
33
34
35
36
37
38
39
{ lib
, buildPythonPackage
, fetchPypi
, cramjam
, setuptools
, snappy
, unittestCheckHook
}:

buildPythonPackage rec {
  pname = "python-snappy";
  version = "0.7.1";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-G8KdNiEdRLufBPPXzPuurrvC9ittQPT8Tt0fsWvFLBM=";
  };

  build-system = [
    cramjam
    setuptools
  ];

  buildInputs = [ snappy ];

  dependencies = [
    cramjam
  ];

  nativeCheckInputs = [ unittestCheckHook ];

  meta = with lib; {
    description = "Python library for the snappy compression library from Google";
    homepage = "https://github.com/intake/python-snappy";
    license = licenses.bsd3;
    maintainers = with maintainers; [ ];
  };
}