evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pkginfo2 / default.nix
blobc46bf6f66ea65531184200186a699358b91b97aa
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "pkginfo2";
11   version = "30.0.0";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "nexB";
18     repo = "pkginfo2";
19     rev = "v${version}";
20     hash = "sha256-E9EyaN3ncf/34vvvhRe0rwV28VrjqJo79YFgXq2lKWU=";
21   };
23   nativeCheckInputs = [ pytestCheckHook ];
25   pythonImportsCheck = [ "pkginfo2" ];
27   meta = with lib; {
28     description = "Query metadatdata from sdists, bdists or installed packages";
29     mainProgram = "pkginfo2";
30     homepage = "https://github.com/nexB/pkginfo2";
31     license = licenses.mit;
32     maintainers = with maintainers; [ fab ];
33   };