uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
37
pkgs/development/python-modules/pybullet/default.nix
Normal file
37
pkgs/development/python-modules/pybullet/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, libGLU, libGL
|
||||
, xorg
|
||||
, numpy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pybullet";
|
||||
version = "3.2.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-G8ua+4eghr4bLeGPCE0f2rgZTaG/cfJkdDyia6o5w1E=";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue