mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
25 lines
923 B
Nix
25 lines
923 B
Nix
|
|
# Copyright 2025 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, dataspeed-can-msg-filters, dataspeed-can-msgs, dataspeed-can-tools, dataspeed-can-usb }:
|
|
buildRosPackage {
|
|
pname = "ros-humble-dataspeed-can";
|
|
version = "2.0.6-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/DataspeedInc-release/dataspeed_can-release/archive/release/humble/dataspeed_can/2.0.6-1.tar.gz";
|
|
name = "2.0.6-1.tar.gz";
|
|
sha256 = "f6e8d8a4c1edd26a917a8538f9c8de773068d8943f1722b8d7454147f597ab04";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake ];
|
|
propagatedBuildInputs = [ dataspeed-can-msg-filters dataspeed-can-msgs dataspeed-can-tools dataspeed-can-usb ];
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
meta = {
|
|
description = "CAN bus tools using Dataspeed hardware";
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|