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

26 lines
1,013 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-rolling-rmf-task-sequence";
version = "2.7.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rmf_task-release/archive/release/rolling/rmf_task_sequence/2.7.0-1.tar.gz";
name = "2.7.0-1.tar.gz";
sha256 = "f4fad35194487b62a3cbc967b2ec2896ca5323751c5b7370e4725adfaf18c740";
};
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 ];
};
}