depot/third_party/nixpkgs/pkgs/development/python-modules/oelint-parser/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

31 lines
768 B
Nix

{ lib
, nix-update-script
, fetchPypi
, buildPythonPackage
, regex
}:
buildPythonPackage rec {
pname = "oelint-parser";
version = "2.11.3";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "oelint_parser";
hash = "sha256-iR/MDHt3SEG29hSLqA36EXe8EBRZVntt+u6bwoujy0s=";
};
propagatedBuildInputs = [ regex ];
pythonImportsCheck = [ "oelint_parser" ];
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Alternative parser for bitbake recipes";
homepage = "https://github.com/priv-kweihmann/oelint-parser";
changelog = "https://github.com/priv-kweihmann/oelint-parser/releases/tag/v${version}";
license = licenses.bsd2;
maintainers = with maintainers; [ otavio ];
};
}