2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook
|
2019-11-21 01:01:43 +00:00
|
|
|
, freeimage, libGL }:
|
|
|
|
|
2018-12-17 20:37:34 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-06-18 05:19:40 +00:00
|
|
|
version = "1.0.4";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gamecube-tools";
|
2018-12-17 20:37:34 +00:00
|
|
|
|
2019-11-21 01:01:43 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ freeimage libGL ];
|
2018-12-17 20:37:34 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "devkitPro";
|
|
|
|
repo = "gamecube-tools";
|
2019-11-21 01:01:43 +00:00
|
|
|
rev = "v${version}";
|
2021-06-18 05:19:40 +00:00
|
|
|
sha256 = "sha256-0iMY2LokfsYgHzIuFc8RlrVlJCURqVqprP54PG4oW0M=";
|
2018-12-17 20:37:34 +00:00
|
|
|
};
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2018-12-17 20:37:34 +00:00
|
|
|
description = "Tools for gamecube/wii projects";
|
|
|
|
homepage = "https://github.com/devkitPro/gamecube-tools/";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ tomsmeets ];
|
|
|
|
};
|
|
|
|
}
|