2019-12-09 05:16:46 +00:00
|
|
|
|
2021-01-22 13:37:51 +00:00
|
|
|
# Copyright 2021 Open Source Robotics Foundation
|
2019-12-09 05:16:46 +00:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2019-12-09 23:36:28 -05:00
|
|
|
{ lib, buildRosPackage, fetchurl, catkin, laptop-battery-monitor, libsensors-monitor }:
|
2019-12-09 05:16:46 +00:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-melodic-linux-peripheral-interfaces";
|
|
|
|
version = "0.2.1-r1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/ros-gbp/linux_peripheral_interfaces-release/archive/release/melodic/linux_peripheral_interfaces/0.2.1-1.tar.gz";
|
|
|
|
name = "0.2.1-1.tar.gz";
|
|
|
|
sha256 = "3e2aabda03b8d3e55b36dd14b76ad3e11e2e3e3a4e0ac2ea5ecbffa512de6aba";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "catkin";
|
2019-12-09 23:36:28 -05:00
|
|
|
propagatedBuildInputs = [ laptop-battery-monitor libsensors-monitor ];
|
2019-12-09 05:16:46 +00:00
|
|
|
nativeBuildInputs = [ catkin ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''Simple scripts which help utilise, monitor, interact with computer
|
|
|
|
hardware abstracted by a linux OS.'';
|
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|