example-robot-data, python3Packages.example-robot-data: init at 4.0.3

This commit is contained in:
Weijia Wang 2022-12-08 00:49:47 +01:00
parent 217f72acc3
commit 2192f88c20
3 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pythonSupport ? false
, python3Packages
}:
stdenv.mkDerivation rec {
pname = "example-robot-data";
version = "4.0.3";
src = fetchFromGitHub {
owner = "Gepetto";
repo = pname;
rev = "v${version}";
fetchSubmodules = true;
sha256 = "sha256-rxVyka8tcF/CmGTVNyh3FPR1LVa6JOAN+9zjElgqCak=";
};
strictDeps = true;
nativeBuildInputs = [
cmake
];
buildInputs = lib.optionals pythonSupport [
python3Packages.pinocchio
];
cmakeFlags = lib.optionals (!pythonSupport) [
"-DBUILD_PYTHON_INTERFACE=OFF"
];
meta = with lib; {
description = "Set of robot URDFs for benchmarking and developed examples.";
homepage = "https://github.com/Gepetto/example-robot-data";
license = licenses.bsd3;
maintainers = with maintainers; [ wegank ];
platforms = platforms.unix;
};
}

View File

@ -18936,6 +18936,8 @@ with pkgs;
liberasurecode = callPackage ../applications/misc/liberasurecode { };
example-robot-data = callPackage ../development/libraries/example-robot-data { };
exiv2 = callPackage ../development/libraries/exiv2 { };
expat = callPackage ../development/libraries/expat { };

View File

@ -3058,6 +3058,11 @@ self: super: with self; {
ewmh = callPackage ../development/python-modules/ewmh { };
example-robot-data = toPythonModule (pkgs.example-robot-data.override {
pythonSupport = true;
python3Packages = self;
});
exdown = callPackage ../development/python-modules/exdown { };
exceptiongroup = callPackage ../development/python-modules/exceptiongroup { };