nixpkgs/pkgs/by-name/ex/example-robot-data/package.nix
2026-06-05 23:02:55 +00:00

53 lines
953 B
Nix

{
cmake,
doxygen,
fetchFromGitHub,
lib,
jrl-cmakemodules,
pkg-config,
stdenv,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "example-robot-data";
version = "5.0.0";
src = fetchFromGitHub {
owner = "Gepetto";
repo = "example-robot-data";
tag = "v${finalAttrs.version}";
hash = "sha256-oQk6mJ1lOTcWrTWLViVQWk+R6DdcnLSigxKuXgpLhs0=";
};
outputs = [
"out"
"doc"
];
strictDeps = true;
nativeBuildInputs = [
cmake
doxygen
pkg-config
];
propagatedBuildInputs = [
jrl-cmakemodules
];
cmakeFlags = [ (lib.cmakeBool "BUILD_PYTHON_INTERFACE" false) ];
doCheck = true;
meta = {
description = "Set of robot URDFs for benchmarking and developed examples";
homepage = "https://github.com/Gepetto/example-robot-data";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [
nim65s
wegank
];
platforms = lib.platforms.unix;
};
})