nav: init at 1.2.1 (#356071)
[NixPkgs.git] / pkgs / development / python-modules / oelint-parser / default.nix
blobfbef31e9f50a096d6e36e6c7c2a69e32621ffb40
2   lib,
3   nix-update-script,
4   fetchFromGitHub,
5   buildPythonPackage,
6   setuptools,
7   deprecated,
8   regex,
9   pytest-cov-stub,
10   pytest-forked,
11   pytest-random-order,
12   pytestCheckHook,
15 buildPythonPackage rec {
16   pname = "oelint-parser";
17   version = "5.1.0";
18   pyproject = true;
20   src = fetchFromGitHub {
21     owner = "priv-kweihmann";
22     repo = "oelint-parser";
23     rev = "refs/tags/${version}";
24     hash = "sha256-0cCcbnipijQgWH+08eZbE6Cqcx5cenrb+bQlf3h04tw=";
25   };
27   pythonRelaxDeps = [ "regex" ];
29   build-system = [ setuptools ];
31   dependencies = [
32     regex
33     deprecated
34   ];
36   nativeCheckInputs = [
37     pytest-cov-stub
38     pytest-forked
39     pytest-random-order
40     pytestCheckHook
41   ];
43   pythonImportsCheck = [ "oelint_parser" ];
45   passthru.updateScript = nix-update-script { };
47   meta = {
48     description = "Alternative parser for bitbake recipes";
49     homepage = "https://github.com/priv-kweihmann/oelint-parser";
50     changelog = "https://github.com/priv-kweihmann/oelint-parser/releases/tag/${version}";
51     license = lib.licenses.bsd2;
52     maintainers = with lib.maintainers; [ otavio ];
53   };