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