1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-19 08:31:07 +03:00
nix-ros-overlay/distros/rolling/demo-nodes-py/default.nix

25 lines
1,006 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-index-python, ament-pep257, example-interfaces, pythonPackages, rcl-interfaces, rclpy, std-msgs }:
buildRosPackage {
pname = "ros-rolling-demo-nodes-py";
version = "0.33.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/demos-release/archive/release/rolling/demo_nodes_py/0.33.0-1.tar.gz";
name = "0.33.0-1.tar.gz";
sha256 = "64984e86d8f8d47e77f0e9e561bde4ae89189532250271277dccf588911ee458";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
propagatedBuildInputs = [ ament-index-python example-interfaces rcl-interfaces rclpy std-msgs ];
meta = {
description = ''Python nodes which were previously in the ros2/examples repository but are now just used for demo purposes.'';
license = with lib.licenses; [ asl20 ];
};
}