summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/hactool
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-08-19 21:16:14 +0200
committerlassulus <lassulus@lassul.us>2020-08-19 21:16:14 +0200
commit6538131f91ce9dbedc8efaa6c1d6196ad5b0f3d6 (patch)
tree3ec0ff96e88b2d212e8e3c9566b66b23154fc03d /makefu/5pkgs/hactool
parent03939b14e1d5820bee8c43d63b34c6e3e0e5eac4 (diff)
parent1d78ac0d6a78048903cc159b82ec6b405b7e16ab (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/5pkgs/hactool')
-rw-r--r--makefu/5pkgs/hactool/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/makefu/5pkgs/hactool/default.nix b/makefu/5pkgs/hactool/default.nix
new file mode 100644
index 000000000..0bdaeb4be
--- /dev/null
+++ b/makefu/5pkgs/hactool/default.nix
@@ -0,0 +1,30 @@
+{ lib, stdenv, fetchFromGitHub
+}:
+stdenv.mkDerivation rec {
+ pname = "hactool";
+ name = "${pname}-${version}";
+ version = "1.4.0";
+
+ src = fetchFromGitHub {
+ owner = "SciresM";
+ repo = "hactool";
+ rev = version;
+ sha256 = "0305ngsnwm8npzgyhyifasi4l802xnfz19r0kbzzniirmcn4082d";
+ };
+ preBuild = ''
+ cp config.mk.template config.mk
+ '';
+ installPhase = ''
+ install -D hactool $out/bin/hactool
+ '';
+ buildInputs = [ ];
+ nativeBuildInputs = [ ];
+
+ meta = {
+ description = "tool to view information about, decrypt, and extract common file formats for the Nintendo Switch, especially Nintendo Content Archives";
+ homepage = https://github.com/SciresM/hactool;
+ license = stdenv.lib.licenses.isc;
+ platforms = stdenv.lib.platforms.linux;
+ maintainers = with stdenv.lib.maintainers; [ makefu ];
+ };
+}