1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/dashing/pendulum-control/default.nix
2019-12-09 23:36:28 -05:00

25 lines
1.1 KiB
Nix

# Copyright 2019 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-pytest, ament-lint-auto, ament-lint-common, launch, launch-testing, launch-testing-ament-cmake, launch-testing-ros, pendulum-msgs, rclcpp, rmw-implementation-cmake, ros2run, rttest, tlsf-cpp }:
buildRosPackage {
pname = "ros-dashing-pendulum-control";
version = "0.7.9-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/demos-release/archive/release/dashing/pendulum_control/0.7.9-1.tar.gz";
name = "0.7.9-1.tar.gz";
sha256 = "64ff9a219ff31bdd2f9c4e9c818e03af91d31ff8f63c3249af6d0b6ae0da1fe9";
};
buildType = "ament_cmake";
checkInputs = [ ament-cmake-pytest ament-lint-auto ament-lint-common launch launch-testing launch-testing-ament-cmake launch-testing-ros rmw-implementation-cmake ros2run ];
propagatedBuildInputs = [ pendulum-msgs rclcpp rttest tlsf-cpp ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''Demonstrates ROS 2's realtime capabilities with a simulated inverted pendulum.'';
license = with lib.licenses; [ asl20 ];
};
}