8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
26 lines
474 B
Nix
26 lines
474 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy3k
|
|
, isPyPy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "enum";
|
|
version = "0.4.7";
|
|
disabled = isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "001iq0yqs9f5bslvl793bhkcs71k5km9kv8yrj5h0lfsgrcg6z4c";
|
|
};
|
|
|
|
doCheck = !isPyPy;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://pypi.python.org/pypi/enum/";
|
|
description = "Robust enumerated type support in Python";
|
|
license = licenses.gpl2;
|
|
};
|
|
|
|
}
|