about summary refs log tree commit diff
path: root/pkgs/top-level/python-packages.nix
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-07-29 19:36:28 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2016-07-29 19:48:11 +0200
commit0868a918a373fafebdb2f2058d57da8fdeba1512 (patch)
treeb16fb433740e50a38bd033828e8a4b0b66dd5ae2 /pkgs/top-level/python-packages.nix
parent67b8bd0b20d3ee3a2ee7895aba9a8ebfa40a70b5 (diff)
downloadnixlib-0868a918a373fafebdb2f2058d57da8fdeba1512.tar
nixlib-0868a918a373fafebdb2f2058d57da8fdeba1512.tar.gz
nixlib-0868a918a373fafebdb2f2058d57da8fdeba1512.tar.bz2
nixlib-0868a918a373fafebdb2f2058d57da8fdeba1512.tar.lz
nixlib-0868a918a373fafebdb2f2058d57da8fdeba1512.tar.xz
nixlib-0868a918a373fafebdb2f2058d57da8fdeba1512.tar.zst
nixlib-0868a918a373fafebdb2f2058d57da8fdeba1512.zip
pythonPackages.backports_abc: init at 0.4
Diffstat (limited to 'pkgs/top-level/python-packages.nix')
-rw-r--r--pkgs/top-level/python-packages.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 775a57340288..8c90df6945f0 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -1638,6 +1638,26 @@ in modules // {
     };
   };
 
+  backports_abc = buildPythonPackage rec {
+    name = "backports_abc-${version}";
+    version = "0.4";
+
+    src = pkgs.fetchurl {
+      url = "mirror://pypi/b/backports_abc/${name}.tar.gz";
+      sha256 = "8b3e4092ba3d541c7a2f9b7d0d9c0275b21c6a01c53a61c731eba6686939d0a5";
+    };
+
+    checkPhase = ''
+      ${python.interpreter} -m unittest discover
+    '';
+
+    meta = {
+      homepage = https://github.com/cython/backports_abc;
+      license = licenses.psfl;
+      description = "A backport of recent additions to the 'collections.abc' module";
+    };
+  };
+
   backports_shutil_get_terminal_size = if !(pythonOlder "3.3") then null else buildPythonPackage rec {
     name = "backports.shutil_get_terminal_size-${version}";
     version = "1.0.0";