about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/gamecube-tools/default.nix
blob: 872c8fae527dfc2f74c78b5836f587984c90f9a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, which, autoconf, automake, fetchFromGitHub,
  libtool, freeimage, mesa }:
stdenv.mkDerivation rec {
  version = "v1.0.2";
  pname = "gamecube-tools";

  nativeBuildInputs = [ which autoconf automake libtool ];
  buildInputs = [ freeimage mesa ];

  src = fetchFromGitHub {
    owner = "devkitPro";
    repo  = "gamecube-tools";
    rev = version;
    sha256 = "0zvpkzqvl8iv4ndzhkjkmrzpampyzgb91spv0h2x2arl8zy4z7ca";
  };

  preConfigure = "./autogen.sh";

  meta = with stdenv.lib; {
    description = "Tools for gamecube/wii projects";
    homepage = "https://github.com/devkitPro/gamecube-tools/";
    license = licenses.gpl2;
    maintainers = with maintainers; [ tomsmeets ];
  };
}