Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport release-24.11] python312Packages.pkginfo: 1.11.1 -> 1.12.0 #366944

Merged
merged 1 commit into from
Jan 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions pkgs/development/python-modules/pkginfo/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,34 @@
buildPythonPackage,
fetchPypi,
pytestCheckHook,
setuptools,
}:

buildPythonPackage rec {
pname = "pkginfo";
version = "1.11.1";
format = "setuptools";
version = "1.12.0";
pyproject = true;

src = fetchPypi {
inherit pname version;
hash = "sha256-Lg3KHPTI45ZE7tMkCOqZZu4V4NMkxiuomaOTs8a0Z6o=";
hash = "sha256-itkaBEWgNngrk2bvi4wsUCkfg6VTR4uoWAxz0yFXAM8=";
};

build-system = [ setuptools ];

nativeCheckInputs = [ pytestCheckHook ];

disabledTests = [
"test_installed_ctor_w_dist_info"
];

pythonImportsCheck = [ "pkginfo" ];

meta = with lib; {
meta = {
changelog = "https://pypi.org/project/pkginfo/#pkginfo-changelog";
description = "Query metadatdata from sdists, bdists or installed packages";
mainProgram = "pkginfo";
homepage = "https://pythonhosted.org/pkginfo/";
homepage = "https://code.launchpad.net/~tseaver/pkginfo";
longDescription = ''
This package provides an API for querying the distutils metadata
written in the PKG-INFO file inside a source distriubtion (an sdist)
Expand All @@ -31,7 +39,7 @@ buildPythonPackage rec {
*.egg-info stored in a “development checkout” (e.g, created by running
setup.py develop).
'';
license = licenses.mit;
maintainers = [ ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
Loading