diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-10-20 22:09:03 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-10-20 22:09:03 +0000 |
commit | 50c21d167f7114fa1dbd95e5c4fb30eeb1a2d02e (patch) | |
tree | f2556b911180125ccbb7ed0e78a54e92da89adce /nixpkgs/pkgs/by-name/oe/oelint-adv/package.nix | |
parent | 4c16d4548a98563c9d9ad76f4e5b2202864ccd54 (diff) | |
parent | cfc75eec4603c06503ae750f88cf397e00796ea8 (diff) | |
download | nixlib-50c21d167f7114fa1dbd95e5c4fb30eeb1a2d02e.tar nixlib-50c21d167f7114fa1dbd95e5c4fb30eeb1a2d02e.tar.gz nixlib-50c21d167f7114fa1dbd95e5c4fb30eeb1a2d02e.tar.bz2 nixlib-50c21d167f7114fa1dbd95e5c4fb30eeb1a2d02e.tar.lz nixlib-50c21d167f7114fa1dbd95e5c4fb30eeb1a2d02e.tar.xz nixlib-50c21d167f7114fa1dbd95e5c4fb30eeb1a2d02e.tar.zst nixlib-50c21d167f7114fa1dbd95e5c4fb30eeb1a2d02e.zip |
Merge commit 'cfc75eec4603c06503ae750f88cf397e00796ea8'
Conflicts: nixpkgs/pkgs/build-support/rust/build-rust-package/default.nix
Diffstat (limited to 'nixpkgs/pkgs/by-name/oe/oelint-adv/package.nix')
-rw-r--r-- | nixpkgs/pkgs/by-name/oe/oelint-adv/package.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/by-name/oe/oelint-adv/package.nix b/nixpkgs/pkgs/by-name/oe/oelint-adv/package.nix new file mode 100644 index 000000000000..357772d5f8ec --- /dev/null +++ b/nixpkgs/pkgs/by-name/oe/oelint-adv/package.nix @@ -0,0 +1,40 @@ +{ lib +, nix-update-script +, python3 +, fetchPypi +}: + +python3.pkgs.buildPythonApplication rec { + pname = "oelint-adv"; + version = "3.25.0"; + format = "setuptools"; + + src = fetchPypi { + inherit version; + pname = "oelint_adv"; + hash = "sha256-dhTS2DZ7Usb1jgBv9Wm86w8CCMt64aHyBrxucLZUQjs="; + }; + + propagatedBuildInputs = with python3.pkgs; [ + anytree + colorama + oelint-parser + urllib3 + ]; + + pythonRelaxDeps = [ "urllib3" ]; + pythonImportsCheck = [ "oelint_adv" ]; + + # Fail to run inside the code the build. + doCheck = false; + + passthru.updateScript = nix-update-script { }; + + meta = with lib; { + description = "Advanced bitbake-recipe linter"; + homepage = "https://github.com/priv-kweihmann/oelint-adv"; + changelog = "https://github.com/priv-kweihmann/oelint-adv/releases/tag/v${version}"; + license = licenses.bsd2; + maintainers = with maintainers; [ otavio ]; + }; +} |