mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
Merge pull request #8887 from matthiasbeyer/add-python-pkginfo
pkginfo: init at 1.2.1
This commit is contained in:
commit
fd93a20af4
1 changed files with 27 additions and 0 deletions
|
@ -2272,6 +2272,33 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
pkginfo = buildPythonPackage rec {
|
||||
version = "1.2.1";
|
||||
name = "pkginfo-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://pypi.python.org/packages/source/p/pkginfo/${name}.tar.gz";
|
||||
sha256 = "0g0g6avplfqw1adzqybbrh1a2z0kfjl8qn3annkrc7w3ibz6sgxd";
|
||||
};
|
||||
|
||||
doCheck = false; # I don't know why, but with doCheck = true it fails.
|
||||
|
||||
meta = {
|
||||
homepage = https://pypi.python.org/pypi/pkginfo;
|
||||
license = licenses.mit;
|
||||
description = "Query metadatdata from sdists / bdists / installed packages.";
|
||||
|
||||
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).
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
pretend = buildPythonPackage rec {
|
||||
name = "pretend-1.0.8";
|
||||
|
||||
|
|
Loading…
Reference in a new issue