python3Packages.pylint-odoo: init at 9.3.3
@moduon MT-1075
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
pylint-plugin-utils,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "pylint-odoo";
|
||||
version = "9.3.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OCA";
|
||||
repo = "pylint-odoo";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-HPai1HQlfHJUHLqEYn4U6qdupJLLrynwtfm7Q8IbRps=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"pylint-plugin-utils"
|
||||
"pylint"
|
||||
];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
pylint-plugin-utils
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pylint_odoo" ];
|
||||
|
||||
BUILD_README = true; # Enables more tests
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = {
|
||||
description = "Odoo plugin for Pylint";
|
||||
homepage = "https://github.com/OCA/pylint-odoo";
|
||||
license = lib.licenses.agpl3Only;
|
||||
maintainers = with lib.maintainers; [ yajo ];
|
||||
};
|
||||
}
|
||||
@@ -12623,6 +12623,8 @@ self: super: with self; {
|
||||
|
||||
pylint-flask = callPackage ../development/python-modules/pylint-flask { };
|
||||
|
||||
pylint-odoo = callPackage ../development/python-modules/pylint-odoo { };
|
||||
|
||||
pylint-plugin-utils = callPackage ../development/python-modules/pylint-plugin-utils { };
|
||||
|
||||
pylint-venv = callPackage ../development/python-modules/pylint-venv { };
|
||||
|
||||
Reference in New Issue
Block a user