1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 colcon,
6 setuptools,
7 argcomplete,
8 pytestCheckHook,
9 pytest-cov-stub,
10}:
11buildPythonPackage rec {
12 pname = "colcon-argcomplete";
13 version = "0.3.3";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "colcon";
18 repo = "colcon-argcomplete";
19 tag = version;
20 hash = "sha256-A6ia9OVZa+DwChVwCmkjvDtUloiFQyqtmhlaApbD7iI=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [
26 colcon
27 argcomplete
28 ];
29
30 nativeCheckInputs = [
31 pytestCheckHook
32 pytest-cov-stub
33 ];
34
35 disabledTestPaths = [
36 "test/test_flake8.py"
37 "test/test_spell_check.py"
38 ];
39
40 pythonImportsCheck = [
41 "colcon_argcomplete"
42 ];
43
44 meta = {
45 description = "Extension for colcon-core to provide command line completion using argcomplete";
46 homepage = "https://github.com/colcon/colcon-argcomplete";
47 license = lib.licenses.asl20;
48 maintainers = with lib.maintainers; [ guelakais ];
49 };
50}