nix-ros-overlay/distros/rolling/lifecycle-py/default.nix

25 lines
913 B
Nix
Raw Normal View History

# Copyright 2024 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, ament-xmllint, lifecycle, lifecycle-msgs, rclpy, ros-testing, std-msgs }:
buildRosPackage {
pname = "ros-rolling-lifecycle-py";
version = "0.35.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/demos-release/archive/release/rolling/lifecycle_py/0.35.1-1.tar.gz";
name = "0.35.1-1.tar.gz";
sha256 = "fa8338bcd9986dd195d2f093ea5464f1cb91387a31fcf8fde58823ee6b38b6ba";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 ament-xmllint lifecycle ros-testing ];
propagatedBuildInputs = [ lifecycle-msgs rclpy std-msgs ];
meta = {
description = "Package containing demos for rclpy lifecycle implementation";
license = with lib.licenses; [ asl20 ];
};
}