mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
53 lines
953 B
Nix
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;
|
|
};
|
|
})
|