mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:48:10 +00:00
38 lines
742 B
Nix
38 lines
742 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, libGLU, libGL
|
|
, xorg
|
|
, numpy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pybullet";
|
|
version = "3.0.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "db4eea782c4d4808ef73b305a729d94f89035f7ad1b84032432e9dd101f689e4";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|