Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
761 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
pname = "cdecrypt";
version = "4.8";
src = fetchFromGitHub {
owner = "VitaSmith";
repo = "cdecrypt";
tag = "v${version}";
hash = "sha256-PyT60RDyp1/Co/7WHC0+KrsnrDeTJ605x1pt4OmlGYg=";
};
installPhase = ''
install -Dm755 cdecrypt $out/bin/cdecrypt
'';
meta = {
description = "Utility that decrypts Wii U NUS content files";
mainProgram = "cdecrypt";
homepage = "https://github.com/VitaSmith/cdecrypt";
changelog = "https://github.com/VitaSmith/cdecrypt/releases/tag/v${version}";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ hughobrien ];
platforms = lib.platforms.linux ++ lib.platforms.darwin;
};
}