From 3fde75c56d5dbc57dd8b63891de7ff792f48f4a9 Mon Sep 17 00:00:00 2001
From: makefu <github@syntax-fehler.de>
Date: Sun, 16 Aug 2020 22:42:51 +0200
Subject: [PATCH] pkgs.hactool: fix sha256sum

---
 5pkgs/hactool/default.nix | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/5pkgs/hactool/default.nix b/5pkgs/hactool/default.nix
index a4ebd9f..0bdaeb4 100644
--- a/5pkgs/hactool/default.nix
+++ b/5pkgs/hactool/default.nix
@@ -1,4 +1,5 @@
-{ lib, stdenv,  fetchFromGitHub }:
+{ lib, stdenv,  fetchFromGitHub
+}:
 stdenv.mkDerivation rec {
   pname = "hactool";
   name = "${pname}-${version}";
@@ -8,16 +9,16 @@ stdenv.mkDerivation rec {
     owner = "SciresM";
     repo = "hactool";
     rev = version;
-    sha256 = "162zv7my79a5ssn6zwk1yh64jjwlzr9kiplbpyvj4ly79dpngwyn";
+    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";