depot/third_party/nixpkgs/pkgs/development/python-modules/oelint-parser/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

36 lines
862 B
Nix

{ lib
, nix-update-script
, fetchPypi
, buildPythonPackage
, regex
, pip
}:
buildPythonPackage rec {
pname = "oelint-parser";
version = "2.11.4";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "oelint_parser";
hash = "sha256-r8qpD7UDh8ZfsdwVuv0ipihPEX3263t929mMYf143iA=";
};
buildInputs = [ pip ];
propagatedBuildInputs = [ 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 ];
};
}