nix-ros-overlay/distros/rolling/ecl-command-line/default.nix

27 lines
1,003 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-gtest, ament-cmake-ros, ament-lint-auto, ament-lint-common, ecl-build, ecl-license }:
buildRosPackage {
pname = "ros-rolling-ecl-command-line";
version = "1.2.1-r4";
src = fetchurl {
url = "https://github.com/ros2-gbp/ecl_core-release/archive/release/rolling/ecl_command_line/1.2.1-4.tar.gz";
name = "1.2.1-4.tar.gz";
sha256 = "3fdc9c2541b66f995c1a3a78699a72e8d891f3b258b226f0c7a68aa8164d82bd";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-ros ecl-build ];
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ ecl-license ];
nativeBuildInputs = [ ament-cmake-ros ];
meta = {
description = "Embeds the TCLAP library inside the ecl. This is a very convenient
command line parser in templatised c++.";
license = with lib.licenses; [ bsdOriginal ];
};
}