1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/development/python-modules/pybullet/default.nix
2019-11-18 20:10:43 +00:00

35 lines
693 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, libGLU, libGL
, xorg
}:
buildPythonPackage rec {
pname = "pybullet";
version = "2.5.7";
src = fetchPypi {
inherit pname version;
sha256 = "82a235a8fe3c8dee753d765c295ff0da92bcb5096209d26a0cfc3f5c6054e374";
};
buildInputs = [
libGLU libGL
xorg.libX11
];
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;
};
}