nix-ros-overlay/distros/humble/swri-opencv-util/default.nix

25 lines
823 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, boost, cv-bridge, swri-math-util }:
buildRosPackage {
pname = "ros-humble-swri-opencv-util";
version = "3.7.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/marti_common-release/archive/release/humble/swri_opencv_util/3.7.4-1.tar.gz";
name = "3.7.4-1.tar.gz";
sha256 = "5957bdecbe5a89c5380b2150308cf724fcac49044807a78f230ddc323cfe4c62";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
propagatedBuildInputs = [ boost cv-bridge swri-math-util ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "A package with commonly used OpenCV functionality.";
license = with lib.licenses; [ bsdOriginal ];
};
}