mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
mujoco: 3.2.2 -> 3.2.3 (#342456)
This commit is contained in:
commit
058f7222f1
@ -1,12 +1,13 @@
|
||||
{ cereal_1_3_2
|
||||
, cmake
|
||||
, fetchFromGitHub
|
||||
, fetchFromGitLab
|
||||
, glfw
|
||||
, glm
|
||||
, lib
|
||||
, spdlog
|
||||
, stdenv
|
||||
{
|
||||
cereal_1_3_2,
|
||||
cmake,
|
||||
fetchFromGitHub,
|
||||
fetchFromGitLab,
|
||||
glfw,
|
||||
glm,
|
||||
lib,
|
||||
spdlog,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
let
|
||||
@ -34,8 +35,8 @@ let
|
||||
eigen3 = fetchFromGitLab {
|
||||
owner = "libeigen";
|
||||
repo = "eigen";
|
||||
rev = "33d0937c6bdf5ec999939fb17f2a553183d14a74";
|
||||
hash = "sha256-qmFsmFEQCDH+TRFc8+5BsYAG1ybL08fWhn8NpM6H6xY=";
|
||||
rev = "f33af052e0e60d4aa367328e7d9dffc9dedca6d8";
|
||||
hash = "sha256-93I6MFIZ8tvdwTmiMihOaVVCdkWOTvXWZ5vYXzsMP+Q=";
|
||||
};
|
||||
googletest = fetchFromGitHub {
|
||||
owner = "google";
|
||||
@ -127,9 +128,10 @@ let
|
||||
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mujoco";
|
||||
version = "3.2.2";
|
||||
version = "3.2.3";
|
||||
|
||||
# Bumping version? Make sure to look though the MuJoCo's commit
|
||||
# history for bumped dependency pins!
|
||||
@ -137,7 +139,7 @@ in stdenv.mkDerivation rec {
|
||||
owner = "google-deepmind";
|
||||
repo = "mujoco";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-UUPB7AY6OYWaK5uBu92kmoIE116AfFa34sYmF943AOU=";
|
||||
hash = "sha256-WMh96sJK9A5QcVmIjy4STN+vMrxLxcDPHMfEnTmSXSU=";
|
||||
};
|
||||
|
||||
patches = [ ./mujoco-system-deps-dont-fetch.patch ];
|
||||
@ -175,7 +177,9 @@ in stdenv.mkDerivation rec {
|
||||
ln -s ${pin.marchingcubecpp} build/_deps/marchingcubecpp-src
|
||||
'';
|
||||
|
||||
passthru.pin = { inherit (pin) lodepng eigen3 abseil-cpp; };
|
||||
passthru.pin = {
|
||||
inherit (pin) lodepng eigen3 abseil-cpp;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Multi-Joint dynamics with Contact. A general purpose physics simulator";
|
@ -1,19 +1,28 @@
|
||||
{
|
||||
absl-py,
|
||||
buildPythonPackage,
|
||||
cmake,
|
||||
etils,
|
||||
fetchPypi,
|
||||
glfw,
|
||||
lib,
|
||||
mujoco,
|
||||
numpy,
|
||||
perl,
|
||||
pybind11,
|
||||
pyopengl,
|
||||
python,
|
||||
setuptools,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
|
||||
# nativeBuildInputs
|
||||
cmake,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# buildInputs
|
||||
mujoco,
|
||||
pybind11,
|
||||
|
||||
# dependencies
|
||||
absl-py,
|
||||
etils,
|
||||
glfw,
|
||||
numpy,
|
||||
pyopengl,
|
||||
|
||||
perl,
|
||||
python,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -28,19 +37,21 @@ buildPythonPackage rec {
|
||||
# in the project's CI.
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-HDN6KA2JYDZqad/MybsX1oV/VvXPshb0mi0UBZq47Qs=";
|
||||
hash = "sha256-3WF/QMHARPXff7yTM9MJTTyIYp1OPYYiTly0LeQKaos=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
setuptools
|
||||
];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
buildInputs = [
|
||||
mujoco
|
||||
pybind11
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
|
||||
dependencies = [
|
||||
absl-py
|
||||
etils
|
||||
glfw
|
||||
|
@ -22433,8 +22433,6 @@ with pkgs;
|
||||
|
||||
mueval = callPackage ../development/tools/haskell/mueval { };
|
||||
|
||||
mujoco = callPackage ../applications/science/robotics/mujoco { };
|
||||
|
||||
muparserx = callPackage ../development/libraries/muparserx { };
|
||||
|
||||
mutest = callPackage ../development/libraries/mutest { };
|
||||
|
Loading…
Reference in New Issue
Block a user