mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-13 21:50:38 +03:00
24 lines
921 B
Nix
24 lines
921 B
Nix
|
|
# Copyright 2022 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, dataspeed-dbw-common, dbw-polaris-can, dbw-polaris-msgs, joy, rclcpp, sensor-msgs, std-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-foxy-dbw-polaris-joystick-demo";
|
|
version = "2.0.1-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/DataspeedInc-release/dbw_ros-release/archive/release/foxy/dbw_polaris_joystick_demo/2.0.1-1.tar.gz";
|
|
name = "2.0.1-1.tar.gz";
|
|
sha256 = "0859e0c67b4c35bdfb982c894a2995f1ad308461d992b030eb72d5b15b2bbe76";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
propagatedBuildInputs = [ dataspeed-dbw-common dbw-polaris-can dbw-polaris-msgs joy rclcpp sensor-msgs std-msgs ];
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
meta = {
|
|
description = ''Demonstration of drive-by-wire with joystick'';
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|