summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/pkg2zip
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-12-01 10:03:29 +0100
committermakefu <github@syntax-fehler.de>2017-12-01 10:03:29 +0100
commit7cbb04c7c62a339559d192886f5b4b29e49f0b7e (patch)
treead68e8f34e606977227277fd0b1ec6bf4d98986f /makefu/5pkgs/pkg2zip
parent341efc1cc7367931a9aef88d2f0ade8d93e9702b (diff)
ma pkgs.pkg2zip: init
Diffstat (limited to 'makefu/5pkgs/pkg2zip')
-rw-r--r--makefu/5pkgs/pkg2zip/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/makefu/5pkgs/pkg2zip/default.nix b/makefu/5pkgs/pkg2zip/default.nix
new file mode 100644
index 000000000..36c3d7176
--- /dev/null
+++ b/makefu/5pkgs/pkg2zip/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, lib, pkgs, fetchFromGitHub, ... }:
+stdenv.mkDerivation rec {
+ name = "pkg2zip-2017-12-01";
+ rev = "fccad26";
+
+ src = fetchFromGitHub {
+ owner = "mmozeiko";
+ repo = "pkg2zip";
+ inherit rev;
+ sha256 = "1sq9yx5cbllmc0yyxhvb6c0yq1mkd1mn8njgkkgxz8alw9zwlarp";
+ };
+
+ installPhase = ''
+ install -m755 -D pkg2zip $out/bin/pkg2zip
+
+ install -m755 -D rif2zrif.py $out/bin/rif2zrif
+ install -m755 -D zrif2rif.py $out/bin/zrif2rif
+ '';
+
+ buildInputs = with pkgs;[
+ python3
+ ];
+
+ meta = {
+ homepage = https://github.com/St4rk/PkgDecrypt;
+ description = "St4rk's Vita pkg decrypter";
+ license = lib.licenses.gpl2;
+ };
+}