python310Packages.pkginfo2: init at 30.0.0
This commit is contained in:
parent
d0e8eb109f
commit
69f7c98750
35
pkgs/development/python-modules/pkginfo2/default.nix
Normal file
35
pkgs/development/python-modules/pkginfo2/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue