2019-03-21 00:14:59 -04:00
|
|
|
|
2021-01-22 13:37:51 +00:00
|
|
|
# Copyright 2021 Open Source Robotics Foundation
|
2019-03-21 00:14:59 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2019-12-09 23:36:28 -05:00
|
|
|
{ lib, buildRosPackage, fetchurl, catkin, cmake, libjpeg, libusb1, pkg-config }:
|
2019-03-21 00:14:59 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-melodic-libuvc";
|
|
|
|
version = "0.0.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-09-06 12:26:32 -04:00
|
|
|
url = "https://github.com/ros-drivers-gbp/libuvc-release/archive/release/melodic/libuvc/0.0.6-0.tar.gz";
|
|
|
|
name = "0.0.6-0.tar.gz";
|
2019-03-21 00:14:59 -04:00
|
|
|
sha256 = "06a553e6d043735a10fff606d5f71a20661fc9b6be392b69a06c35b8aca8d3f6";
|
|
|
|
};
|
|
|
|
|
2019-09-06 12:26:32 -04:00
|
|
|
buildType = "cmake";
|
2019-12-09 23:36:28 -05:00
|
|
|
buildInputs = [ pkg-config ];
|
|
|
|
propagatedBuildInputs = [ catkin libjpeg libusb1 ];
|
2019-04-06 22:15:06 -04:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''USB Video Class driver library'';
|
2019-05-05 02:02:52 -04:00
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
2019-03-21 00:14:59 -04:00
|
|
|
};
|
|
|
|
}
|