nixpkgs/pkgs/development/tools/dec-decode/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

28 lines
654 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "dec-decode";
version = "unstable-2022-12-24";
src = fetchFromGitHub {
owner = "sammiq";
repo = pname;
rev = "6ee103c";
hash = "sha256-vOYKVl00oaXwp77pRLqUPnXQT5QuJfqnGGkQVBMq5W0=";
};
vendorHash = "sha256-zGWRzw1KUmifIsTudlgoKCR3+K0FLehHRSB3lNX+OWY=";
meta = with lib; {
description = "Nintendo Wii iso.dec decoder";
mainProgram = "dec-decode";
homepage = "https://github.com/sammiq/dec-decode";
license = licenses.unlicense;
maintainers = with maintainers; [ hughobrien ];
platforms = with platforms; linux ++ darwin;
};
}