1{ lib, buildPythonPackage, fetchPypi }:
2
3buildPythonPackage rec {
4 pname = "pkginfo";
5 version = "1.7.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "029a70cb45c6171c329dfc890cde0879f8c52d6f3922794796e06f577bb03db4";
10 };
11
12 doCheck = false; # I don't know why, but with doCheck = true it fails.
13
14 meta = with lib; {
15 homepage = "https://pypi.python.org/pypi/pkginfo";
16 license = licenses.mit;
17 description = "Query metadatdata from sdists / bdists / installed packages";
18
19 longDescription = ''
20 This package provides an API for querying the distutils metadata
21 written in the PKG-INFO file inside a source distriubtion (an sdist)
22 or a binary distribution (e.g., created by running bdist_egg). It can
23 also query the EGG-INFO directory of an installed distribution, and the
24 *.egg-info stored in a “development checkout” (e.g, created by running
25 setup.py develop).
26 '';
27 };
28}