python310Packages.pkginfo2: init at 30.0.0

This commit is contained in:
Fabian Affolter 2022-05-11 11:35:59 +02:00
parent d0e8eb109f
commit 69f7c98750
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pkginfo2";
version = "30.0.0";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "nexB";
repo = "pkginfo2";
rev = "v${version}";
hash = "sha256-E9EyaN3ncf/34vvvhRe0rwV28VrjqJo79YFgXq2lKWU=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pkginfo2"
];
meta = with lib; {
description = "Query metadatdata from sdists, bdists or installed packages";
homepage = "https://github.com/nexB/pkginfo2";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -6355,6 +6355,8 @@ in {
pkginfo = callPackage ../development/python-modules/pkginfo { };
pkginfo2 = callPackage ../development/python-modules/pkginfo2 { };
pkuseg = callPackage ../development/python-modules/pkuseg { };
pmsensor = callPackage ../development/python-modules/pmsensor { };