nix-ros-overlay/distros/foxy/phidgets-temperature/default.nix

24 lines
849 B
Nix

# Copyright 2022 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, launch, phidgets-api, rclcpp, rclcpp-components, std-msgs }:
buildRosPackage {
pname = "ros-foxy-phidgets-temperature";
version = "2.1.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/foxy/phidgets_temperature/2.1.1-1.tar.gz";
name = "2.1.1-1.tar.gz";
sha256 = "4eca76e80249050cc615fc6285a1601a8b5cabda73b1170a6b916e1de74615fe";
};
buildType = "ament_cmake";
propagatedBuildInputs = [ launch phidgets-api rclcpp rclcpp-components std-msgs ];
nativeBuildInputs = [ ament-cmake-ros ];
meta = {
description = ''Driver for the Phidgets Temperature devices'';
license = with lib.licenses; [ bsdOriginal ];
};
}