mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 06:00:38 +03:00
24 lines
895 B
Nix
24 lines
895 B
Nix
|
|
# Copyright 2021 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, launch, phidgets-api, rclcpp, rclcpp-components, sensor-msgs, std-msgs, std-srvs }:
|
|
buildRosPackage {
|
|
pname = "ros-galactic-phidgets-spatial";
|
|
version = "2.2.1-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/galactic/phidgets_spatial/2.2.1-1.tar.gz";
|
|
name = "2.2.1-1.tar.gz";
|
|
sha256 = "c4f94483c2b62da8f65ef9e4d6d4e7ff7f8d8a60fe02f1d88004eca366fa8618";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
propagatedBuildInputs = [ launch phidgets-api rclcpp rclcpp-components sensor-msgs std-msgs std-srvs ];
|
|
nativeBuildInputs = [ ament-cmake-ros ];
|
|
|
|
meta = {
|
|
description = ''Driver for the Phidgets Spatial 3/3/3 devices'';
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|