My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pkginfo/default.nix

39 lines
1.0 KiB

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pkginfo";
version = "1.8.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-VC4NC2dQ4uIcIBeYA+QKtQWY2AZtUQl6Djgsup6wK/8=";
};
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; [ ];
};
}