depot/third_party/nixpkgs/pkgs/development/python-modules/pkginfo2/default.nix
Default email 2ce5db779a Project import generated by Copybara.
GitOrigin-RevId: 48037fd90426e44e4bf03e6479e88a11453b9b66
2022-05-18 16:49:53 +02:00

35 lines
673 B
Nix

{ 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 ];
};
}