Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / tools / cdecrypt / default.nix
blobbcbe34c886c1f3515e5003adb9255b71ea0b86fb
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 }:
6 stdenv.mkDerivation rec {
7   pname = "cdecrypt";
8   version = "4.8";
10   src = fetchFromGitHub {
11     owner = "VitaSmith";
12     repo = "cdecrypt";
13     rev = "refs/tags/v${version}";
14     hash = "sha256-PyT60RDyp1/Co/7WHC0+KrsnrDeTJ605x1pt4OmlGYg=";
15   };
17   installPhase = ''
18     install -Dm755 cdecrypt $out/bin/cdecrypt
19   '';
21   meta = with lib; {
22     description = "A utility that decrypts Wii U NUS content files";
23     homepage = "https://github.com/VitaSmith/cdecrypt";
24     changelog = "https://github.com/VitaSmith/cdecrypt/releases/tag/v${version}";
25     license = licenses.gpl3Plus;
26     maintainers = with maintainers; [ hughobrien ];
27     platforms = platforms.linux ++ platforms.darwin;
28   };