nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 cmake,
3 doxygen,
4 fetchFromGitHub,
5 lib,
6 jrl-cmakemodules,
7 pkg-config,
8 stdenv,
9}:
10
11stdenv.mkDerivation (finalAttrs: {
12 pname = "example-robot-data";
13 version = "4.4.0";
14
15 src = fetchFromGitHub {
16 owner = "Gepetto";
17 repo = "example-robot-data";
18 tag = "v${finalAttrs.version}";
19 hash = "sha256-HnI1EaTSqk7mbihwFTgnMxgPZxMSYnAwaCLEXS3LUbE=";
20 };
21
22 outputs = [
23 "out"
24 "doc"
25 ];
26
27 strictDeps = true;
28
29 nativeBuildInputs = [
30 cmake
31 doxygen
32 pkg-config
33 ];
34
35 propagatedBuildInputs = [
36 jrl-cmakemodules
37 ];
38
39 cmakeFlags = [ (lib.cmakeBool "BUILD_PYTHON_INTERFACE" false) ];
40
41 doCheck = true;
42
43 meta = {
44 description = "Set of robot URDFs for benchmarking and developed examples";
45 homepage = "https://github.com/Gepetto/example-robot-data";
46 license = lib.licenses.bsd3;
47 maintainers = with lib.maintainers; [
48 nim65s
49 wegank
50 ];
51 platforms = lib.platforms.unix;
52 };
53})