22017988c6
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
37 lines
729 B
Nix
37 lines
729 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, libGLU, libGL
|
|
, xorg
|
|
, numpy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pybullet";
|
|
version = "3.2.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-lZ6FvABRMkucSroj15Nlt33iFvnO68OS+dVR/mOg68Y=";
|
|
};
|
|
|
|
buildInputs = [
|
|
libGLU libGL
|
|
xorg.libX11
|
|
];
|
|
|
|
propagatedBuildInputs = [ numpy ];
|
|
|
|
patches = [
|
|
# make sure X11 and OpenGL can be found at runtime
|
|
./static-libs.patch
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Open-source software for robot simulation, integrated with OpenAI Gym";
|
|
homepage = "https://pybullet.org/";
|
|
license = licenses.zlib;
|
|
maintainers = with maintainers; [ timokau ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|