1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 22:20:34 +03:00
nix-ros-overlay/distros/rolling/compressed-image-transport/default.nix

28 lines
1,010 B
Nix
Raw Permalink Normal View History

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, cv-bridge, image-transport }:
buildRosPackage {
pname = "ros-rolling-compressed-image-transport";
version = "5.0.2-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/image_transport_plugins-release/archive/release/rolling/compressed_image_transport/5.0.2-1.tar.gz";
name = "5.0.2-1.tar.gz";
sha256 = "26ec669c12fa484f35183053fb90cba2ebe33801fd7fd07a26e67eeff4ff17b2";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ];
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 ];
};
}