@@ -2272,6 +2272,33 @@ let
22722272 };
22732273 };
22742274
2275+ pkginfo = buildPythonPackage rec {
2276+ version = "1.2.1";
2277+ name = "pkginfo-${version}";
2278+
2279+ src = pkgs.fetchurl {
2280+ url = "https://pypi.python.org/packages/source/p/pkginfo/${name}.tar.gz";
2281+ sha256 = "0g0g6avplfqw1adzqybbrh1a2z0kfjl8qn3annkrc7w3ibz6sgxd";
2282+ };
2283+
2284+ doCheck = false; # I don't know why, but with doCheck = true it fails.
2285+
2286+ meta = {
2287+ homepage = https://pypi.python.org/pypi/pkginfo;
2288+ license = licenses.mit;
2289+ description = "Query metadatdata from sdists / bdists / installed packages.";
2290+
2291+ longDescription = ''
2292+ This package provides an API for querying the distutils metadata
2293+ written in the PKG-INFO file inside a source distriubtion (an sdist)
2294+ or a binary distribution (e.g., created by running bdist_egg). It can
2295+ also query the EGG-INFO directory of an installed distribution, and the
2296+ *.egg-info stored in a “development checkout” (e.g, created by running
2297+ setup.py develop).
2298+ '';
2299+ };
2300+ };
2301+
22752302 pretend = buildPythonPackage rec {
22762303 name = "pretend-1.0.8";
22772304