Skip to content

Commit 7aa8f7a

Browse files
authored
Package catkin_tools (#131)
Package catkin_tools
1 parent 15f12da commit 7aa8f7a

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed

pkgs/catkin-tools/default.nix

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{ lib, buildPythonPackage, fetchPypi, fetchpatch, setuptools, catkin-pkg, osrf-pycommon, pyyaml}:
2+
3+
buildPythonPackage rec {
4+
pname = "catkin_tools";
5+
version = "0.7.1";
6+
7+
src = fetchPypi {
8+
inherit pname version;
9+
sha256 = "17r6sz7jdq78mab8n5ihcf991f8lwykdjcddlgsz7c1ab7j4dkns";
10+
};
11+
12+
propagatedBuildInputs = [ catkin-pkg setuptools osrf-pycommon pyyaml ];
13+
14+
doCheck = false;
15+
pythonImportsCheck = ["catkin_tools" ];
16+
17+
meta = with lib; {
18+
description = "Command line tools for working with catkin";
19+
homepage = "https://catkin-tools.readthedocs.io/";
20+
license = licenses.asl20;
21+
maintainers = with maintainers; [ lopsided98 ];
22+
};
23+
}

pkgs/default.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ self: super: with self.lib; let
99

1010
catkin-pkg = pySelf.callPackage ./catkin-pkg { };
1111

12+
catkin-tools = pySelf.callPackage ./catkin-tools { };
13+
1214
colcon-cmake = pySelf.callPackage ./colcon/cmake.nix { };
1315

1416
colcon-core = pySelf.callPackage ./colcon/core.nix { };
@@ -31,6 +33,8 @@ self: super: with self.lib; let
3133

3234
empy = pySelf.callPackage ./empy { };
3335

36+
osrf-pycommon = pySelf.callPackage ./osrf-pycommon {};
37+
3438
rosdep = pySelf.callPackage ./rosdep { };
3539

3640
rosdistro = pySelf.callPackage ./rosdistro { };

pkgs/osrf-pycommon/default.nix

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{ lib, buildPythonPackage, fetchPypi, fetchpatch, python, nose}:
2+
3+
buildPythonPackage rec {
4+
pname = "osrf_pycommon";
5+
version = "1.0.0";
6+
7+
src = fetchPypi {
8+
inherit pname version;
9+
sha256 = "01qi6m7frc6g2pyy2wmy29c3xdpbgxmwn11ax48qy3fav4mq5ky3";
10+
};
11+
12+
buildInputs = [ nose ];
13+
checkPhase = "${python.interpreter} ./setup.py nosetests";
14+
15+
meta = with lib; {
16+
description = "Commonly needed Python modules, used by Python software developed at OSRF";
17+
homepage = "https://github.com/osrf/osrf_pycommon";
18+
license = licenses.asl20;
19+
maintainers = with maintainers; [ lopsided98 ];
20+
};
21+
}

0 commit comments

Comments
 (0)