1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00
nix-ros-overlay/distros/iron/image-common/default.nix

26 lines
961 B
Nix

# Copyright 2023 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, camera-calibration-parsers, camera-info-manager, image-transport }:
buildRosPackage {
pname = "ros-iron-image-common";
version = "4.2.2-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/image_common-release/archive/release/iron/image_common/4.2.2-1.tar.gz";
name = "4.2.2-1.tar.gz";
sha256 = "fc7ec16630f5349c9bcc8a290ccc2d378f8878efd82fe12da3dfdc9dab3a4a1b";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ camera-calibration-parsers camera-info-manager image-transport ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''Common code for working with images in ROS.'';
license = with lib.licenses; [ bsdOriginal ];
};
}