about summary refs log tree commit diff
path: root/pkgs/development/python-modules/enum/default.nix
blob: 70462e5f40332447a0dffea6787c841650b55b5e (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
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, isPyPy
}:

buildPythonPackage rec {
  pname = "enum";
  version = "0.4.4";
  disabled = isPy3k;

  src = fetchPypi {
    inherit pname version;
    sha256 = "9bdfacf543baf2350df7613eb37f598a802f346985ca0dc1548be6494140fdff";
  };

  doCheck = !isPyPy;

  meta = with stdenv.lib; {
    homepage = https://pypi.python.org/pypi/enum/;
    description = "Robust enumerated type support in Python";
    license = licenses.gpl2;
  };

}