vscode-extensions.yoavbls.pretty-ts-errors: 0.5.4 -> 0.6.1 (#363464)
[NixPkgs.git] / pkgs / by-name / cd / cdecrypt / package.nix
blobe74a63e04b4c343dcbba381cad8c6201fc1b27ba
2   lib,
3   stdenv,
4   fetchFromGitHub,
5 }:
7 stdenv.mkDerivation rec {
8   pname = "cdecrypt";
9   version = "4.8";
11   src = fetchFromGitHub {
12     owner = "VitaSmith";
13     repo = "cdecrypt";
14     tag = "v${version}";
15     hash = "sha256-PyT60RDyp1/Co/7WHC0+KrsnrDeTJ605x1pt4OmlGYg=";
16   };
18   installPhase = ''
19     install -Dm755 cdecrypt $out/bin/cdecrypt
20   '';
22   meta = with lib; {
23     description = "Utility that decrypts Wii U NUS content files";
24     mainProgram = "cdecrypt";
25     homepage = "https://github.com/VitaSmith/cdecrypt";
26     changelog = "https://github.com/VitaSmith/cdecrypt/releases/tag/v${version}";
27     license = licenses.gpl3Plus;
28     maintainers = with maintainers; [ hughobrien ];
29     platforms = platforms.linux ++ platforms.darwin;
30   };