diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ad08df9a874..08c0cfee510 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";