mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-19 16:40:36 +03:00
25 lines
1,000 B
Nix
25 lines
1,000 B
Nix
![]() |
|
||
|
# Copyright 2023 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-iron-demo-nodes-py";
|
||
|
version = "0.27.1-r1";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/ros2-gbp/demos-release/archive/release/iron/demo_nodes_py/0.27.1-1.tar.gz";
|
||
|
name = "0.27.1-1.tar.gz";
|
||
|
sha256 = "b0d85615fcb4e66df7f2d21b148d3372cded8a9341df171c2e9b65209dad1c03";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|