2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
# Copyright 2019 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, catkin, pkg-config, libusb1, libjpeg, cmake }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-melodic-libuvc";
|
|
|
|
version = "0.0.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = https://github.com/ros-drivers-gbp/libuvc-release/archive/release/melodic/libuvc/0.0.6-0.tar.gz;
|
|
|
|
sha256 = "06a553e6d043735a10fff606d5f71a20661fc9b6be392b69a06c35b8aca8d3f6";
|
|
|
|
};
|
|
|
|
|
2019-04-06 22:15:06 -04:00
|
|
|
buildInputs = [ libusb1 libjpeg pkg-config ];
|
2019-03-21 00:14:59 -04:00
|
|
|
propagatedBuildInputs = [ libusb1 catkin libjpeg ];
|
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'';
|
|
|
|
#license = lib.licenses.BSD;
|
|
|
|
};
|
|
|
|
}
|