summary refs log tree commit diff
diff options
context:
space:
mode:
authorArseniy Seroka <jagajaga@users.noreply.github.com>2015-07-20 00:32:36 +0300
committerArseniy Seroka <jagajaga@users.noreply.github.com>2015-07-20 00:32:36 +0300
commitfd93a20af42d90fe53c528f52b562f715315dbc5 (patch)
tree158134ceb67c4478e3b596c486fd85c3ea1d043c
parent6745ffb1c9fc437e70b1de0f9cb566cc379eecb7 (diff)
parent8fa00ad16e08243ac3a8126e4e8f5dfdbd7bbb5c (diff)
downloadnixlib-fd93a20af42d90fe53c528f52b562f715315dbc5.tar
nixlib-fd93a20af42d90fe53c528f52b562f715315dbc5.tar.gz
nixlib-fd93a20af42d90fe53c528f52b562f715315dbc5.tar.bz2
nixlib-fd93a20af42d90fe53c528f52b562f715315dbc5.tar.lz
nixlib-fd93a20af42d90fe53c528f52b562f715315dbc5.tar.xz
nixlib-fd93a20af42d90fe53c528f52b562f715315dbc5.tar.zst
nixlib-fd93a20af42d90fe53c528f52b562f715315dbc5.zip
Merge pull request #8887 from matthiasbeyer/add-python-pkginfo
pkginfo: init at 1.2.1
-rw-r--r--pkgs/top-level/python-packages.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index ad08df9a8742..08c0cfee510e 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -2272,6 +2272,33 @@ let
     };
   };
 
+  pkginfo = buildPythonPackage rec {
+    version = "1.2.1";
+    name = "pkginfo-${version}";
+
+    src = pkgs.fetchurl {
+      url = "https://pypi.python.org/packages/source/p/pkginfo/${name}.tar.gz";
+      sha256 = "0g0g6avplfqw1adzqybbrh1a2z0kfjl8qn3annkrc7w3ibz6sgxd";
+    };
+
+    doCheck = false; # I don't know why, but with doCheck = true it fails.
+
+    meta = {
+      homepage = https://pypi.python.org/pypi/pkginfo;
+      license = licenses.mit;
+      description = "Query metadatdata from sdists / bdists / installed packages.";
+
+      longDescription = ''
+        This package provides an API for querying the distutils metadata
+        written in the PKG-INFO file inside a source distriubtion (an sdist)
+        or a binary distribution (e.g., created by running bdist_egg). It can
+        also query the EGG-INFO directory of an installed distribution, and the
+        *.egg-info stored in a “development checkout” (e.g, created by running
+        setup.py develop).
+      '';
+    };
+  };
+
   pretend = buildPythonPackage rec {
     name = "pretend-1.0.8";