mediawiki: 1.42.4 -> 1.43.0 (#369641)
[NixPkgs.git] / pkgs / development / python-modules / license-expression / default.nix
blob9fbfff4c8d26933172e2b764f6f9f645cb54d77e
2   lib,
3   boolean-py,
4   buildPythonPackage,
5   fetchFromGitHub,
6   pytestCheckHook,
7   pythonOlder,
8   setuptools-scm,
9 }:
11 buildPythonPackage rec {
12   pname = "license-expression";
13   version = "30.4.1";
14   pyproject = true;
16   disabled = pythonOlder "3.9";
18   src = fetchFromGitHub {
19     owner = "aboutcode-org";
20     repo = "license-expression";
21     tag = "v${version}";
22     hash = "sha256-H1IAA/fxQkMMsvCv02gLXE3odokNejPRGZVZnhE61II=";
23   };
25   dontConfigure = true;
27   build-system = [ setuptools-scm ];
29   dependencies = [ boolean-py ];
31   nativeCheckInputs = [ pytestCheckHook ];
33   pythonImportsCheck = [ "license_expression" ];
35   meta = with lib; {
36     description = "Utility library to parse, normalize and compare License expressions";
37     homepage = "https://github.com/aboutcode-org/license-expression";
38     changelog = "https://github.com/aboutcode-org/license-expression/blob/v${version}/CHANGELOG.rst";
39     license = licenses.asl20;
40     maintainers = with maintainers; [ fab ];
41   };