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/dashing/rclpy/default.nix

26 lines
1.3 KiB
Nix

# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-pytest, ament-index-python, ament-lint-auto, ament-lint-common, builtin-interfaces, python-cmake-module, pythonPackages, rcl, rcl-action, rcl-interfaces, rcl-yaml-param-parser, rcutils, rmw-implementation, rmw-implementation-cmake, rosgraph-msgs, rosidl-generator-py, test-msgs, unique-identifier-msgs }:
buildRosPackage {
pname = "ros-dashing-rclpy";
version = "0.7.11-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rclpy-release/archive/release/dashing/rclpy/0.7.11-1.tar.gz";
name = "0.7.11-1.tar.gz";
sha256 = "0690e2cb731c13e02ec9029924e91a3c170747383ab9fe47b7cceef69008eaa1";
};
buildType = "ament_cmake";
buildInputs = [ rcutils rmw-implementation-cmake ];
checkInputs = [ ament-cmake-pytest ament-lint-auto ament-lint-common pythonPackages.pytest rosidl-generator-py test-msgs ];
propagatedBuildInputs = [ ament-index-python builtin-interfaces rcl rcl-action rcl-interfaces rcl-yaml-param-parser rmw-implementation rosgraph-msgs unique-identifier-msgs ];
nativeBuildInputs = [ ament-cmake python-cmake-module ];
meta = {
description = ''Package containing the Python client.'';
license = with lib.licenses; [ asl20 ];
};
}