3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pybullet/default.nix

35 lines
698 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, libGLU_combined
, xorg
}:
buildPythonPackage rec {
pname = "pybullet";
2019-05-30 07:49:52 +01:00
version = "2.4.9";
src = fetchPypi {
inherit pname version;
2019-05-30 07:49:52 +01:00
sha256 = "bcb5aaca2b8adf94a04fd5206eea113ddc1993c9f13ab39f4a37e98f92b6d7db";
};
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;
};
}