1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 # build-system 6 setuptools, 7 # dependencies 8 colcon, 9 # tests 10 pytestCheckHook, 11 scspell, 12 writableTmpDirAsHomeHook, 13}: 14 15buildPythonPackage rec { 16 pname = "colcon-recursive-crawl"; 17 version = "0.2.3"; 18 pyproject = true; 19 20 src = fetchFromGitHub { 21 owner = "colcon"; 22 repo = "colcon-recursive-crawl"; 23 tag = version; 24 hash = "sha256-zmmEelMjsIbXy5LchZMtr2+x+Ne2c2PhexLjbkZJmm8="; 25 }; 26 27 build-system = [ setuptools ]; 28 29 dependencies = [ 30 colcon 31 ]; 32 33 nativeCheckInputs = [ 34 pytestCheckHook 35 scspell 36 writableTmpDirAsHomeHook 37 ]; 38 39 disabledTestPaths = [ 40 # Skip the linter tests that require additional dependencies 41 "test/test_flake8.py" 42 ]; 43 44 pythonImportsCheck = [ "colcon_recursive_crawl" ]; 45 46 meta = { 47 description = "Extension for colcon to recursively crawl for packages"; 48 homepage = "https://colcon.readthedocs.io/"; 49 downloadPage = "https://github.com/colcon/colcon-recursive-crawl"; 50 license = lib.licenses.asl20; 51 maintainers = with lib.maintainers; [ guelakais ]; 52 }; 53}