a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
39 lines
1 KiB
Nix
39 lines
1 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pkginfo";
|
|
version = "1.9.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-rAPjfk1gGq7kD4CH9j/EoqbJgU3aLI+mqrGxgpZTvfo=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"pkginfo"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Query metadatdata from sdists, bdists or installed packages";
|
|
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; [ ];
|
|
};
|
|
}
|