chipmunk: 7.0.1 -> 7.0.3, fix build w/glibc-2.32
This commit is contained in:
parent
883bdf8070
commit
c60a09b498
1 changed files with 11 additions and 4 deletions
|
@ -1,20 +1,27 @@
|
|||
{ stdenv, fetchurl, cmake, freeglut, libGLU, libGL, glfw2, glew, libX11, xorgproto
|
||||
, libXi, libXmu
|
||||
, libXi, libXmu, fetchpatch, libXrandr
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "chipmunk";
|
||||
majorVersion = "7";
|
||||
version = "${majorVersion}.0.1";
|
||||
version = "${majorVersion}.0.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://chipmunk-physics.net/release/Chipmunk-${majorVersion}.x/Chipmunk-${version}.tgz";
|
||||
sha256 = "0q4jwv1icz8spcjkp0v3bnygi6hq2zmnsgcxkwm8i2bxfxjb8m7y";
|
||||
sha256 = "06j9cfxsyrrnyvl7hsf55ac5mgff939mmijliampphlizyg0r2q4";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/slembcke/Chipmunk2D/commit/9a051e6fb970c7afe09ce2d564c163b81df050a8.patch";
|
||||
sha256 = "0ps8bjba1k544vcdx5w0qk7gcjq94yfigxf67j50s63yf70k2n70";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs =
|
||||
[ freeglut libGLU libGL glfw2 glew libX11 xorgproto libXi libXmu ];
|
||||
[ freeglut libGLU libGL glfw2 glew libX11 xorgproto libXi libXmu libXrandr ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/bin
|
||||
|
|
Loading…
Reference in a new issue