diff options
author | makefu <github@syntax-fehler.de> | 2017-12-01 09:31:02 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-12-01 10:03:09 +0100 |
commit | 341efc1cc7367931a9aef88d2f0ade8d93e9702b (patch) | |
tree | c8f0b3a1c2b197193539db4ffb31d918018562b9 /makefu/5pkgs/PkgDecrypt/default.nix | |
parent | e37ca2ceaf83adfdf93f512dd5e5849ddba4e7fb (diff) |
ma pkgs.PkgDecrypt: init
Diffstat (limited to 'makefu/5pkgs/PkgDecrypt/default.nix')
-rw-r--r-- | makefu/5pkgs/PkgDecrypt/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/makefu/5pkgs/PkgDecrypt/default.nix b/makefu/5pkgs/PkgDecrypt/default.nix new file mode 100644 index 000000000..80bcbcac1 --- /dev/null +++ b/makefu/5pkgs/PkgDecrypt/default.nix @@ -0,0 +1,27 @@ +{ stdenv, lib, pkgs, fetchFromGitHub, ... }: +stdenv.mkDerivation rec { + name = "PkgDecrypt-2017-12-01"; + rev = "e2f9518"; + + src = fetchFromGitHub { + owner = "St4rk"; + repo = "PkgDecrypt"; + inherit rev; + sha256 = "0dk13qamxyny0vc990s06vqddxwwc6xmikb1pkc3rnys98yda29p"; + }; + + installPhase = '' + install -m755 -D pkg_dec $out/bin/pkg_dec + install -m755 -D make_key $out/bin/make_key + ''; + + buildInputs = with pkgs;[ + zlib + ]; + + meta = { + homepage = https://github.com/St4rk/PkgDecrypt; + description = "St4rk's Vita pkg decrypter"; + license = lib.licenses.gpl2; + }; +} |