base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / ur / urdfdom-headers / package.nix
blob7809355cb301541a30741ba75b16d0bb1531f56a
1 { lib, stdenv, fetchFromGitHub, fetchpatch, cmake, validatePkgConfig }:
3 stdenv.mkDerivation rec {
4   pname = "urdfdom-headers";
5   version = "1.1.1";
7   src = fetchFromGitHub {
8     owner = "ros";
9     repo = "urdfdom_headers";
10     rev = version;
11     hash = "sha256-FQSnYuTc40MOxyFsMPfoCIonP+4AUQxdq74eoQ9tOoo=";
12   };
14   patches = [
15     # Fix CMake relative install dir assumptions (https://github.com/ros/urdfdom_headers/pull/66)
16     (fetchpatch {
17       url = "https://github.com/ros/urdfdom_headers/commit/6e0cea148c3a7123f8367cd48d5709a4490c32f1.patch";
18       hash = "sha256-LC2TACGma/k6+WE9fTkzY98SgJYKsVuj5O9v84Q5mQ4=";
19     })
20   ];
22   nativeBuildInputs = [ cmake validatePkgConfig ];
24   meta = with lib; {
25     description = "URDF (U-Robot Description Format) headers provides core data structure headers for URDF";
26     homepage = "https://github.com/ros/urdfdom_headers";
27     license = licenses.bsd3;
28     maintainers = with maintainers; [ lopsided98 ];
29     platforms = platforms.all;
30   };