1{ stdenv, buildPythonPackage, fetchPypi }:
2
3buildPythonPackage rec {
4 pname = "pkginfo";
5 version = "1.4.2";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "5878d542a4b3f237e359926384f1dde4e099c9f5525d236b1840cf704fa8d474";
10 };
11
12 doCheck = false; # I don't know why, but with doCheck = true it fails.
13
14 meta = with stdenv.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}