at 24.11-pre 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6}: 7 8buildPythonPackage rec { 9 pname = "pkginfo"; 10 version = "1.10.0"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-Xfc4NTmNENt5+O7NXNhrH20pMXWJ6nB5aZTUk5mvYpc="; 16 }; 17 18 nativeCheckInputs = [ pytestCheckHook ]; 19 20 pythonImportsCheck = [ "pkginfo" ]; 21 22 meta = with lib; { 23 description = "Query metadatdata from sdists, bdists or installed packages"; 24 mainProgram = "pkginfo"; 25 homepage = "https://pythonhosted.org/pkginfo/"; 26 longDescription = '' 27 This package provides an API for querying the distutils metadata 28 written in the PKG-INFO file inside a source distriubtion (an sdist) 29 or a binary distribution (e.g., created by running bdist_egg). It can 30 also query the EGG-INFO directory of an installed distribution, and the 31 *.egg-info stored in a development checkout (e.g, created by running 32 setup.py develop). 33 ''; 34 license = licenses.mit; 35 maintainers = with maintainers; [ ]; 36 }; 37}