11 stdenv.mkDerivation rec {
16 url = "https://github.com/Construo/construo/releases/download/v${version}/${pname}-${version}.tar.gz";
17 sha256 = "1wmj527hbj1qv44cdsj6ahfjrnrjwg2dp8gdick8nd07vm062qxa";
20 buildInputs = [ libX11 zlib xorgproto ]
21 ++ lib.optional (libGL != null) libGL
22 ++ lib.optional (libGLU != null) libGLU
23 ++ lib.optional (freeglut != null) freeglut;
26 substituteInPlace src/Makefile.in \
31 description = "Masses and springs simulation game";
32 homepage = "http://fs.fsf.org/construo/";
33 license = lib.licenses.gpl3;