1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00
nix-ros-overlay/distros/foxy/raptor-can-dbc-parser/default.nix

26 lines
949 B
Nix
Raw Normal View History

# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-auto, ament-lint-auto, ament-lint-common, can-msgs }:
buildRosPackage {
pname = "ros-foxy-raptor-can-dbc-parser";
version = "1.0.0-r1";
src = fetchurl {
url = "https://github.com/NewEagleRaptor/raptor-dbw-ros2-release/archive/release/foxy/raptor_can_dbc_parser/1.0.0-1.tar.gz";
name = "1.0.0-1.tar.gz";
sha256 = "9b68ed442758436cbced9735384111356c206f47b0fdb32fd2acd70a4979b904";
};
buildType = "ament_cmake";
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ can-msgs ];
nativeBuildInputs = [ ament-cmake-auto ];
meta = {
description = ''DBC file interface. Read a DBC file, unpack CAN messages and convert to engineering units, pack values into CAN messages for publishing.'';
license = with lib.licenses; [ bsdOriginal ];
};
}