mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
28 lines
1.1 KiB
Nix
28 lines
1.1 KiB
Nix
|
|
# Copyright 2020 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, ament-lint-auto, ament-lint-common, tinyxml, tinyxml-vendor, urdfdom, urdfdom-headers }:
|
|
buildRosPackage {
|
|
pname = "ros-eloquent-urdf";
|
|
version = "2.2.0-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/urdf-release/archive/release/eloquent/urdf/2.2.0-1.tar.gz";
|
|
name = "2.2.0-1.tar.gz";
|
|
sha256 = "8e9732eb2160b9c1b1f7eace5abfacd0e1e2e51b678c69386a3dfedbc02bb49f";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
checkInputs = [ ament-lint-auto ament-lint-common ];
|
|
propagatedBuildInputs = [ tinyxml tinyxml-vendor urdfdom urdfdom-headers ];
|
|
nativeBuildInputs = [ ament-cmake-ros ];
|
|
|
|
meta = {
|
|
description = ''This package contains a C++ parser for the Unified Robot Description
|
|
Format (URDF), which is an XML format for representing a robot model.
|
|
The code API of the parser has been through our review process and will remain
|
|
backwards compatible in future releases.'';
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|