2020-07-18 16:06:22 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, validatePkgConfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "urdfdom-headers";
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "1.1.1";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ros";
|
|
|
|
repo = "urdfdom_headers";
|
|
|
|
rev = version;
|
2024-06-20 14:57:18 +00:00
|
|
|
hash = "sha256-FQSnYuTc40MOxyFsMPfoCIonP+4AUQxdq74eoQ9tOoo=";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
# Fix CMake relative install dir assumptions (https://github.com/ros/urdfdom_headers/pull/66)
|
|
|
|
(fetchpatch {
|
2024-06-20 14:57:18 +00:00
|
|
|
url = "https://github.com/ros/urdfdom_headers/commit/6e0cea148c3a7123f8367cd48d5709a4490c32f1.patch";
|
|
|
|
hash = "sha256-LC2TACGma/k6+WE9fTkzY98SgJYKsVuj5O9v84Q5mQ4=";
|
2020-07-18 16:06:22 +00:00
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake validatePkgConfig ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "URDF (U-Robot Description Format) headers provides core data structure headers for URDF";
|
|
|
|
homepage = "https://github.com/ros/urdfdom_headers";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ lopsided98 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|