about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyrsistent/default.nix
blob: 376b306cbb2b2fd9e08a41dce83a486315aa0f79 (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
{ stdenv
, buildPythonPackage
, fetchPypi
, six
, pytest
, hypothesis
}:

buildPythonPackage rec {
  pname = "pyrsistent";
  version = "0.11.12";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0jgyhkkq36wn36rymn4jiyqh2vdslmradq4a2mjkxfbk2cz6wpi5";
  };

  propagatedBuildInputs = [ six ];
  buildInputs = [ pytest hypothesis ];

  checkPhase = ''
    py.test
  '';

  meta = with stdenv.lib; {
    homepage = https://github.com/tobgu/pyrsistent/;
    description = "Persistent/Functional/Immutable data structures";
    license = licenses.mit;
    maintainers = with maintainers; [ desiderius ];
  };

}