nix-ros-overlay/distros/foxy/compressed-image-transport/default.nix

25 lines
882 B
Nix

# Copyright 2022 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, cv-bridge, image-transport }:
buildRosPackage {
pname = "ros-foxy-compressed-image-transport";
version = "2.3.3-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/image_transport_plugins-release/archive/release/foxy/compressed_image_transport/2.3.3-1.tar.gz";
name = "2.3.3-1.tar.gz";
sha256 = "844a5cd20dbb449b9f00468a1af049091b0ab7c7c13d3171bb9e0427cfe9a537";
};
buildType = "ament_cmake";
propagatedBuildInputs = [ cv-bridge image-transport ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''Compressed_image_transport provides a plugin to image_transport for transparently sending images
encoded as JPEG or PNG.'';
license = with lib.licenses; [ bsdOriginal ];
};
}