gamecube-tools: fix build

GL/gl.h was removed from mesa package, needs to be
directly imported from libGL now
This commit is contained in:
Jonathan Ringer 2019-11-20 17:01:43 -08:00 committed by Jon
parent 8254f1a756
commit c236ffecad

View File

@ -1,21 +1,20 @@
{ stdenv, which, autoconf, automake, fetchFromGitHub,
libtool, freeimage, mesa }:
{ stdenv, fetchFromGitHub, autoreconfHook
, freeimage, libGL }:
stdenv.mkDerivation rec {
version = "v1.0.2";
version = "1.0.2";
pname = "gamecube-tools";
nativeBuildInputs = [ which autoconf automake libtool ];
buildInputs = [ freeimage mesa ];
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ freeimage libGL ];
src = fetchFromGitHub {
owner = "devkitPro";
repo = "gamecube-tools";
rev = version;
rev = "v${version}";
sha256 = "0zvpkzqvl8iv4ndzhkjkmrzpampyzgb91spv0h2x2arl8zy4z7ca";
};
preConfigure = "./autogen.sh";
meta = with stdenv.lib; {
description = "Tools for gamecube/wii projects";
homepage = "https://github.com/devkitPro/gamecube-tools/";