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