1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 colcon, 6 packaging, 7 pytest-cov-stub, 8 pytestCheckHook, 9 setuptools, 10 scspell, 11 writableTmpDirAsHomeHook, 12}: 13 14buildPythonPackage rec { 15 pname = "colcon-package-information"; 16 version = "0.4.0"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "colcon"; 21 repo = "colcon-package-information"; 22 tag = version; 23 hash = "sha256-BnDrnIgzXrNAPIg7sr8CcaVdisplJdAvjyZ28r4o/wI="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 colcon 30 packaging 31 ]; 32 33 nativeCheckInputs = [ 34 pytest-cov-stub 35 pytestCheckHook 36 scspell 37 writableTmpDirAsHomeHook 38 ]; 39 40 pythonImportsCheck = [ 41 "colcon_package_information" 42 ]; 43 44 disabledTestPaths = [ 45 "test/test_flake8.py" 46 ]; 47 48 meta = { 49 description = "Extension for colcon-core to output package information"; 50 homepage = "http://colcon.readthedocs.io/"; 51 license = lib.licenses.asl20; 52 maintainers = with lib.maintainers; [ guelakais ]; 53 }; 54}