1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5 pylint-plugin-utils, 6 pytestCheckHook, 7 setuptools, 8}: 9buildPythonPackage rec { 10 pname = "pylint-odoo"; 11 version = "9.3.18"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "OCA"; 16 repo = "pylint-odoo"; 17 tag = "v${version}"; 18 hash = "sha256-8nrAwjfz28INoLD4xuQ/R5lYodZjw/PqBdZAF+wBXN0="; 19 }; 20 21 pythonRelaxDeps = [ 22 "pylint-plugin-utils" 23 "pylint" 24 ]; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 pylint-plugin-utils 30 ]; 31 32 pythonImportsCheck = [ "pylint_odoo" ]; 33 34 BUILD_README = true; # Enables more tests 35 36 nativeCheckInputs = [ pytestCheckHook ]; 37 38 meta = { 39 description = "Odoo plugin for Pylint"; 40 homepage = "https://github.com/OCA/pylint-odoo"; 41 license = lib.licenses.agpl3Only; 42 maintainers = with lib.maintainers; [ yajo ]; 43 }; 44}