nixpkgs/pkgs/development/tools/wiiload/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

25 lines
670 B
Nix

{ lib, stdenv, fetchFromGitHub, autoconf, automake, zlib }:
stdenv.mkDerivation rec {
version = "0.5.3";
pname = "wiiload";
nativeBuildInputs = [ autoconf automake ];
buildInputs = [ zlib ];
src = fetchFromGitHub {
owner = "devkitPro";
repo = "wiiload";
rev = "v${version}";
sha256 = "sha256-pZdZzCAPfAVucuiV/q/ROY3cz/wxQWep6dCTGNn2fSo=";
};
preConfigure = "./autogen.sh";
meta = with lib; {
description = "Load homebrew apps over network/usbgecko to your Wii";
mainProgram = "wiiload";
homepage = "https://wiibrew.org/wiki/Wiiload";
license = licenses.gpl2;
maintainers = with maintainers; [ tomsmeets ];
};
}