depot/third_party/nixpkgs/pkgs/development/python-modules/oelint-parser/default.nix
Default email 60f07311b9 Project import generated by Copybara.
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
2024-02-06 17:22:34 -08:00

40 lines
895 B
Nix

{ lib
, nix-update-script
, fetchPypi
, buildPythonPackage
, deprecated
, regex
, pip
}:
buildPythonPackage rec {
pname = "oelint-parser";
version = "3.1.0";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "oelint_parser";
hash = "sha256-uR90Af/3E8YVZ2ALSVFOkTr59iVw5NkLOnQBm4Us1vk=";
};
buildInputs = [ pip ];
propagatedBuildInputs = [
deprecated
regex
];
pythonImportsCheck = [ "oelint_parser" ];
# Fail to run inside the code the build.
doCheck = false;
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 ];
};
}