1 { lib, stdenv, fetchFromGitHub, fetchpatch, cmake, pkg-config, validatePkgConfig
2 , urdfdom-headers, console-bridge, tinyxml }:
4 stdenv.mkDerivation rec {
8 src = fetchFromGitHub {
12 hash = "sha256-UdkGJAXK3Q8QJaqMZBA5/FKUgWq9EVeqkqwVewTlTD8=";
16 # Fix CMake relative install dir assumptions (https://github.com/ros/urdfdom/pull/142)
18 url = "https://github.com/ros/urdfdom/commit/cbe6884d267779463bb444be851f6404e692cc0a.patch";
19 hash = "sha256-1gTRKIGqiSRion76bGecSfFJSBskYUJguUIa6ePIiX4=";
23 nativeBuildInputs = [ cmake pkg-config validatePkgConfig ];
24 propagatedBuildInputs = [ urdfdom-headers console-bridge tinyxml ];
27 description = "Provides core data structures and a simple XML parser for populating the class data structures from an URDF file";
28 homepage = "https://github.com/ros/urdfdom";
29 license = licenses.bsd3;
30 maintainers = with maintainers; [ lopsided98 ];
31 platforms = platforms.all;