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/iron/rosbag2-examples-py/default.nix

25 lines
885 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, example-interfaces, pythonPackages, rclpy, rosbag2-py, std-msgs }:
buildRosPackage {
pname = "ros-iron-rosbag2-examples-py";
version = "0.22.8-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rosbag2-release/archive/release/iron/rosbag2_examples_py/0.22.8-1.tar.gz";
name = "0.22.8-1.tar.gz";
sha256 = "e3c8ba295f095a07a8a9052efc7d0ae1b769e76796358221b2778bd1de729ccc";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
propagatedBuildInputs = [ example-interfaces rclpy rosbag2-py std-msgs ];
meta = {
description = "Python bag writing tutorial";
license = with lib.licenses; [ asl20 ];
};
}