2023-04-12 12:48:02 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "cdecrypt";
|
|
|
|
version = "4.8";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "VitaSmith";
|
|
|
|
repo = "cdecrypt";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-PyT60RDyp1/Co/7WHC0+KrsnrDeTJ605x1pt4OmlGYg=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -Dm755 cdecrypt $out/bin/cdecrypt
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Utility that decrypts Wii U NUS content files";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "cdecrypt";
|
2023-04-12 12:48:02 +00:00
|
|
|
homepage = "https://github.com/VitaSmith/cdecrypt";
|
|
|
|
changelog = "https://github.com/VitaSmith/cdecrypt/releases/tag/v${version}";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ hughobrien ];
|
2023-04-29 16:46:19 +00:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2023-04-12 12:48:02 +00:00
|
|
|
};
|
|
|
|
}
|