mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-13 03:04:49 +03:00
38 lines
1.5 KiB
Nix
38 lines
1.5 KiB
Nix
|
|
# Copyright 2023 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, cmake, libpng, libusb1 }:
|
|
buildRosPackage {
|
|
pname = "ros-foxy-rc-genicam-api";
|
|
version = "2.6.1-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/rc_genicam_api-release/archive/release/foxy/rc_genicam_api/2.6.1-1.tar.gz";
|
|
name = "2.6.1-1.tar.gz";
|
|
sha256 = "7fcb8d804de2edbc61e97eb43703e2715611fc159397e08694d2d898dd3a7c28";
|
|
};
|
|
|
|
buildType = "cmake";
|
|
buildInputs = [ cmake ];
|
|
propagatedBuildInputs = [ libpng libusb1 ];
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = {
|
|
description = ''GenICam/GigE Vision Convenience Layer.
|
|
|
|
This package combines the Roboception convenience layer for images with the
|
|
GenICam reference implementation and a GigE Vision transport layer. It is a
|
|
self contained package that permits configuration and image streaming of
|
|
GenICam / GigE Vision 2.0 compatible cameras like the Roboception rc_visard.
|
|
|
|
This package also provides some tools that can be called from the command line
|
|
for discovering cameras, changing their configuration and streaming images.
|
|
Although the tools are meant to be useful when working in a shell or in a
|
|
script, their main purpose is to serve as example on how to use the API for
|
|
reading and setting parameters, streaming and synchronizing images.
|
|
|
|
See LICENSE.md for licensing terms of the different parts.'';
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|