blob: 3a79cdbbf01266880cb1d1a864ca113b1ece8ad1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pkginfo";
version = "1.10.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-Xfc4NTmNENt5+O7NXNhrH20pMXWJ6nB5aZTUk5mvYpc=";
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pkginfo"
];
meta = with lib; {
description = "Query metadatdata from sdists, bdists or installed packages";
mainProgram = "pkginfo";
homepage = "https://pythonhosted.org/pkginfo/";
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).
'';
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}
|