Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pkginfo2 / default.nix
blob08eee37498bb2f2e80a84d5a87fbd9671e1e5588
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "pkginfo2";
10   version = "30.0.0";
12   disabled = pythonOlder "3.7";
14   src = fetchFromGitHub {
15     owner = "nexB";
16     repo = "pkginfo2";
17     rev = "v${version}";
18     hash = "sha256-E9EyaN3ncf/34vvvhRe0rwV28VrjqJo79YFgXq2lKWU=";
19   };
21   nativeCheckInputs = [
22     pytestCheckHook
23   ];
25   pythonImportsCheck = [
26     "pkginfo2"
27   ];
29   meta = with lib; {
30     description = "Query metadatdata from sdists, bdists or installed packages";
31     homepage = "https://github.com/nexB/pkginfo2";
32     license = licenses.mit;
33     maintainers = with maintainers; [ fab ];
34   };