mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-12 02:34:50 +03:00
25 lines
971 B
Nix
25 lines
971 B
Nix
|
|
# Copyright 2022 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-auto, ament-cmake-gtest, ament-lint-auto, ament-lint-common, can-msgs, lifecycle-msgs, rclcpp, rclcpp-components, rclcpp-lifecycle }:
|
|
buildRosPackage {
|
|
pname = "ros-foxy-ros2-socketcan";
|
|
version = "1.1.0-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/ros2_socketcan-release/archive/release/foxy/ros2_socketcan/1.1.0-1.tar.gz";
|
|
name = "1.1.0-1.tar.gz";
|
|
sha256 = "0e1d360e58b44ddfa46158a568d646042a0738513f9e42e801de5f73a3eabecb";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ];
|
|
propagatedBuildInputs = [ can-msgs lifecycle-msgs rclcpp rclcpp-components rclcpp-lifecycle ];
|
|
nativeBuildInputs = [ ament-cmake-auto ];
|
|
|
|
meta = {
|
|
description = ''Simple wrapper around SocketCAN'';
|
|
license = with lib.licenses; [ asl20 ];
|
|
};
|
|
}
|