2018-10-16 19:27:29 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy3k
|
|
|
|
, isPyPy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "enum";
|
2018-10-24 14:16:45 +01:00
|
|
|
version = "0.4.7";
|
2018-10-16 19:27:29 +01:00
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-24 14:16:45 +01:00
|
|
|
sha256 = "001iq0yqs9f5bslvl793bhkcs71k5km9kv8yrj5h0lfsgrcg6z4c";
|
2018-10-16 19:27:29 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = !isPyPy;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pypi.python.org/pypi/enum/";
|
2018-10-16 19:27:29 +01:00
|
|
|
description = "Robust enumerated type support in Python";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|