mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-12 02:34:50 +03:00
26 lines
1 KiB
Nix
26 lines
1 KiB
Nix
|
|
# Copyright 2025 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, can-msgs, dataspeed-can-msg-filters, dataspeed-can-usb, ds-dbw-msgs, rclcpp, rclcpp-components, sensor-msgs, std-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-jazzy-ds-dbw-can";
|
|
version = "2.3.3-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/DataspeedInc-release/dbw_ros-release/archive/release/jazzy/ds_dbw_can/2.3.3-1.tar.gz";
|
|
name = "2.3.3-1.tar.gz";
|
|
sha256 = "1bc6d23005ecee88ebaaed5d9eb54b135af1c3b885e727d8404e27ac23aff740";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake dataspeed-can-msg-filters ];
|
|
checkInputs = [ ament-cmake-gtest ];
|
|
propagatedBuildInputs = [ can-msgs dataspeed-can-usb ds-dbw-msgs rclcpp rclcpp-components sensor-msgs std-msgs ];
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
meta = {
|
|
description = "Interface to the Dataspeed Inc. Drive-By-Wire kit";
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|