box2d: fix hash

The upstream tarball changed. Specifically, files now extract onto a
box2d-2.3.1/ directory rather than Box2D-2.3.1/. The files themselves
(and their contents) seem to remain the same.

(cherry picked from commit a8b85f6d68d4fc96a0f8473aa38a3e773b82c4f0)
This commit is contained in:
Ricardo M. Correia 2021-06-02 02:32:24 +02:00 committed by github-actions[bot]
parent 275a275cf7
commit 186f49f5eb

View File

@ -7,10 +7,10 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "https://github.com/erincatto/Box2D/archive/v${version}.tar.gz"; url = "https://github.com/erincatto/Box2D/archive/v${version}.tar.gz";
sha256 = "0llpcifl8zbjbpxdwz87drd01m3lwnv82xb4av6kca1xn4w2gmkm"; sha256 = "0p03ngsmyz0r5kbpiaq10ns4fxwkjvvawi8k6pfall46b93wizsq";
}; };
sourceRoot = "Box2D-${version}/Box2D"; sourceRoot = "box2d-${version}/Box2D";
nativeBuildInputs = [ cmake unzip pkg-config ]; nativeBuildInputs = [ cmake unzip pkg-config ];
buildInputs = [ libGLU libGL freeglut libX11 xorgproto libXi ]; buildInputs = [ libGLU libGL freeglut libX11 xorgproto libXi ];