depot/third_party/nixpkgs/pkgs/development/python-modules/pkginfo/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

39 lines
1 KiB
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pkginfo";
version = "1.8.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ZRdf+iyAciBnOkHDcVc6yaHqGxn/1e75FiePQoMZk08=";
};
checkInputs = [
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; [ ];
};
}