1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00

Package catkin_tools (#131)

Package catkin_tools
This commit is contained in:
Jeremy Kolb 2021-09-01 16:22:48 -06:00 committed by GitHub
parent 15f12da301
commit 7aa8f7a37a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchPypi, fetchpatch, setuptools, catkin-pkg, osrf-pycommon, pyyaml}:
buildPythonPackage rec {
pname = "catkin_tools";
version = "0.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "17r6sz7jdq78mab8n5ihcf991f8lwykdjcddlgsz7c1ab7j4dkns";
};
propagatedBuildInputs = [ catkin-pkg setuptools osrf-pycommon pyyaml ];
doCheck = false;
pythonImportsCheck = ["catkin_tools" ];
meta = with lib; {
description = "Command line tools for working with catkin";
homepage = "https://catkin-tools.readthedocs.io/";
license = licenses.asl20;
maintainers = with maintainers; [ lopsided98 ];
};
}

View file

@ -9,6 +9,8 @@ self: super: with self.lib; let
catkin-pkg = pySelf.callPackage ./catkin-pkg { };
catkin-tools = pySelf.callPackage ./catkin-tools { };
colcon-cmake = pySelf.callPackage ./colcon/cmake.nix { };
colcon-core = pySelf.callPackage ./colcon/core.nix { };
@ -31,6 +33,8 @@ self: super: with self.lib; let
empy = pySelf.callPackage ./empy { };
osrf-pycommon = pySelf.callPackage ./osrf-pycommon {};
rosdep = pySelf.callPackage ./rosdep { };
rosdistro = pySelf.callPackage ./rosdistro { };

View file

@ -0,0 +1,21 @@
{ lib, buildPythonPackage, fetchPypi, fetchpatch, python, nose}:
buildPythonPackage rec {
pname = "osrf_pycommon";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "01qi6m7frc6g2pyy2wmy29c3xdpbgxmwn11ax48qy3fav4mq5ky3";
};
buildInputs = [ nose ];
checkPhase = "${python.interpreter} ./setup.py nosetests";
meta = with lib; {
description = "Commonly needed Python modules, used by Python software developed at OSRF";
homepage = "https://github.com/osrf/osrf_pycommon";
license = licenses.asl20;
maintainers = with maintainers; [ lopsided98 ];
};
}