mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
example-robot-data, python3Packages.example-robot-data: init at 4.0.3
This commit is contained in:
parent
217f72acc3
commit
2192f88c20
42
pkgs/development/libraries/example-robot-data/default.nix
Normal file
42
pkgs/development/libraries/example-robot-data/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user