1{ lib, stdenv, fetchFromGitHub, autoconf, automake, zlib }:
2stdenv.mkDerivation rec {
3 version = "0.5.3";
4 pname = "wiiload";
5
6 nativeBuildInputs = [ autoconf automake ];
7 buildInputs = [ zlib ];
8
9 src = fetchFromGitHub {
10 owner = "devkitPro";
11 repo = "wiiload";
12 rev = "v${version}";
13 sha256 = "sha256-pZdZzCAPfAVucuiV/q/ROY3cz/wxQWep6dCTGNn2fSo=";
14 };
15
16 preConfigure = "./autogen.sh";
17
18 meta = with lib; {
19 description = "Load homebrew apps over network/usbgecko to your Wii";
20 mainProgram = "wiiload";
21 homepage = "https://wiibrew.org/wiki/Wiiload";
22 license = licenses.gpl2;
23 maintainers = with maintainers; [ tomsmeets ];
24 };
25}