biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / liccheck / default.nix
blob62d5b428c71c94fe372be4eb217993ff2a796008
2   lib,
3   buildPythonPackage,
4   configparser,
5   fetchFromGitHub,
6   pip,
7   pytest-mock,
8   pytestCheckHook,
9   python3-openid,
10   pythonOlder,
11   semantic-version,
12   toml,
15 buildPythonPackage rec {
16   pname = "liccheck";
17   version = "0.9.2";
18   format = "setuptools";
20   disabled = pythonOlder "3.7";
22   src = fetchFromGitHub {
23     owner = "dhatim";
24     repo = "python-license-check";
25     rev = "refs/tags/${version}";
26     hash = "sha256-2WJw5TVMjOr+GX4YV0nssOtQeYvDHBLnlWquJQWPL9I=";
27   };
29   propagatedBuildInputs = [
30     configparser
31     semantic-version
32     toml
33   ];
35   nativeCheckInputs = [
36     pip
37     pytest-mock
38     pytestCheckHook
39     python3-openid
40   ];
42   pythonImportsCheck = [ "liccheck" ];
44   meta = with lib; {
45     description = "Check python packages from requirement.txt and report issues";
46     mainProgram = "liccheck";
47     homepage = "https://github.com/dhatim/python-license-check";
48     changelog = "https://github.com/dhatim/python-license-check/releases/tag/${version}";
49     license = licenses.asl20;
50     maintainers = with maintainers; [ fab ];
51   };