My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/development/python-modules/pybullet/default.nix

35 lines
698 B

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