1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 colcon, 7 pylint, 8 pytestCheckHook, 9 pytest-cov-stub, 10 scspell, 11 writableTmpDirAsHomeHook, 12}: 13 14buildPythonPackage rec { 15 pname = "colcon-library-path"; 16 version = "0.2.1"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "colcon"; 21 repo = "colcon-library-path"; 22 tag = version; 23 hash = "sha256-/Zb8F/WcwpFMeJNLaf69ozXX8f+9gb+WXBda+nc/7MM="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 propagatedBuildInputs = [ 29 colcon 30 ]; 31 32 nativeCheckInputs = [ 33 pylint 34 pytest-cov-stub 35 pytestCheckHook 36 scspell 37 writableTmpDirAsHomeHook 38 ]; 39 40 pythonImportsCheck = [ 41 "colcon_library_path" 42 ]; 43 44 disabledTestPaths = [ 45 "test/test_flake8.py" 46 ]; 47 48 meta = { 49 description = "Extension for colcon to set the library path environment variable"; 50 homepage = "https://github.com/colcon/colcon-library-path"; 51 license = lib.licenses.asl20; 52 maintainers = with lib.maintainers; [ guelakais ]; 53 }; 54}