mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
25 lines
855 B
Nix
25 lines
855 B
Nix
![]() |
|
||
|
# Copyright 2021 Open Source Robotics Foundation
|
||
|
# Distributed under the terms of the BSD license
|
||
|
|
||
|
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, launch-ros, pythonPackages, tf2-ros-py }:
|
||
|
buildRosPackage {
|
||
|
pname = "ros-galactic-examples-tf2-py";
|
||
|
version = "0.17.2-r1";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/ros2-gbp/geometry2-release/archive/release/galactic/examples_tf2_py/0.17.2-1.tar.gz";
|
||
|
name = "0.17.2-1.tar.gz";
|
||
|
sha256 = "8f9997816b686643aac6eb5ba5898881f3fa8465ea776cb91d0605c1e523bc3a";
|
||
|
};
|
||
|
|
||
|
buildType = "ament_python";
|
||
|
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
|
||
|
propagatedBuildInputs = [ launch-ros tf2-ros-py ];
|
||
|
|
||
|
meta = {
|
||
|
description = ''Has examples of using the tf2 Python API.'';
|
||
|
license = with lib.licenses; [ asl20 ];
|
||
|
};
|
||
|
}
|