nix-ros-overlay/distros/humble/rmf-task-sequence/default.nix

26 lines
1,011 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-catch2, ament-cmake-uncrustify, cmake, nlohmann-json-schema-validator-vendor, nlohmann_json, rmf-api-msgs, rmf-task }:
buildRosPackage {
pname = "ros-humble-rmf-task-sequence";
version = "2.1.8-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rmf_task-release/archive/release/humble/rmf_task_sequence/2.1.8-1.tar.gz";
name = "2.1.8-1.tar.gz";
sha256 = "10af150c128a5d85dc7123ecabc45211eff81ba7c6b48a94076f5fe02cbd82b5";
};
buildType = "cmake";
buildInputs = [ cmake ];
checkInputs = [ ament-cmake-catch2 ament-cmake-uncrustify ];
propagatedBuildInputs = [ nlohmann-json-schema-validator-vendor nlohmann_json rmf-api-msgs rmf-task ];
nativeBuildInputs = [ cmake ];
meta = {
description = "Implementation of phase-sequence tasks for the Robotics Middleware Framework";
license = with lib.licenses; [ asl20 ];
};
}