1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/foxy/examples-rclpy-minimal-subscriber/default.nix

25 lines
868 B
Nix
Raw Normal View History

# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, pythonPackages, rclpy, std-msgs }:
buildRosPackage {
pname = "ros-foxy-examples-rclpy-minimal-subscriber";
version = "0.9.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/examples-release/archive/release/foxy/examples_rclpy_minimal_subscriber/0.9.4-1.tar.gz";
name = "0.9.4-1.tar.gz";
sha256 = "0ad83811e146a1b5cc3c7b7492164c91f10291f9301fdfa35c444acc3155f226";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
propagatedBuildInputs = [ rclpy std-msgs ];
meta = {
description = ''Examples of minimal subscribers using rclpy.'';
license = with lib.licenses; [ asl20 ];
};
}