Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 28 lines 959 B view raw
1{ stdenv, buildPythonPackage, fetchPypi }: 2 3buildPythonPackage rec { 4 pname = "pkginfo"; 5 version = "1.5.0.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "7424f2c8511c186cd5424bbf31045b77435b37a8d604990b79d4e70d741148bb"; 10 }; 11 12 doCheck = false; # I don't know why, but with doCheck = true it fails. 13 14 meta = with stdenv.lib; { 15 homepage = https://pypi.python.org/pypi/pkginfo; 16 license = licenses.mit; 17 description = "Query metadatdata from sdists / bdists / installed packages"; 18 19 longDescription = '' 20 This package provides an API for querying the distutils metadata 21 written in the PKG-INFO file inside a source distriubtion (an sdist) 22 or a binary distribution (e.g., created by running bdist_egg). It can 23 also query the EGG-INFO directory of an installed distribution, and the 24 *.egg-info stored in a development checkout (e.g, created by running 25 setup.py develop). 26 ''; 27 }; 28}