From e69f76470a58aa80fab4095cc7a47880a90ec3c6 Mon Sep 17 00:00:00 2001 From: Rahul Gopinath Date: Sat, 11 Feb 2017 16:12:10 -0800 Subject: [PATCH] aenum: Init at 1.4.7 --- .../python-modules/aenum/default.nix | 19 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/development/python-modules/aenum/default.nix diff --git a/pkgs/development/python-modules/aenum/default.nix b/pkgs/development/python-modules/aenum/default.nix new file mode 100644 index 000000000000..1233b94dccdf --- /dev/null +++ b/pkgs/development/python-modules/aenum/default.nix @@ -0,0 +1,19 @@ +{ stdenv, fetchPypi, buildPythonPackage }: + +buildPythonPackage rec { + pname = "aenum"; + version = "1.4.7"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "1bvn2k53nz99fiwql5fkl0fh7xjw8ama9qzdjp36609mpk05ikl8"; + }; + + meta = { + description = "Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants"; + maintainer = with stdenv.lib.maintainers; [ vrthra ]; + license = with stdenv.lib.licenses; [ bsd3 ]; + homepage = https://bitbucket.org/stoneleaf/aenum; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1c57d181a45c..2934e19a96b1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -95,6 +95,8 @@ in { }; }; + aenum = callPackage ../development/python-modules/aenum { }; + agate = buildPythonPackage rec { name = "agate-1.2.2"; disabled = isPy3k;