summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/colcon-ros-domain-id-coordinator/default.nix
blob: 02ffcfc4fe5afdb9f13e07abe3eaf5bf0634f08d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
  lib,
  buildPythonPackage,
  colcon,
  fetchFromGitHub,
  pytestCheckHook,
  pytest-cov-stub,
  pytest-repeat,
  pytest-rerunfailures,
  scspell,
  setuptools,
  writableTmpDirAsHomeHook,
}:
buildPythonPackage {
  pname = "colcon-ros-domain-id-coordinator";
  version = "0.2.4";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "colcon";
    repo = "colcon-ros-domain-id-coordinator";
    tag = "0.2.1";
    hash = "sha256-8DTpixa5ZGuSOpmwoeJgxLQI+17XheLxPWcJymE0GqM=";
  };
  build-system = [ setuptools ];

  dependencies = [
    colcon
  ];

  nativeCheckInputs = [
    pytestCheckHook
    pytest-cov-stub
    pytest-repeat
    pytest-rerunfailures
    scspell
    writableTmpDirAsHomeHook
  ];

  disabledTestPaths = [
    "test/test_flake8.py"
  ];

  pythonImportsCheck = [
    "colcon_ros_domain_id_coordinator"
  ];

  meta = {
    description = "Extension for colcon-core to coordinate ROS_DOMAIN_ID values across multiple terminals";
    homepage = "https://github.com/colcon/colcon-ros-domain-id-coordinator";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ guelakais ];
  };
}