hacpack: init at 1.36 (#115357)

This commit is contained in:
Ivar 2021-03-08 15:56:57 +01:00 committed by GitHub
parent 368bdd13f6
commit 3e616e0874
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "hacpack";
version = "1.36";
src = fetchFromGitHub {
owner = "The-4n";
repo = "hacpack";
rev = "v${version}";
sha256 = "0d846l36w1n9rxv79fbyhl2zdbqhlgrvk21b9vzr9x77yki89ygs";
};
preConfigure = ''
mv config.mk.template config.mk
'';
installPhase = ''
mkdir -p $out/bin
cp ./hacpack $out/bin
'';
meta = with lib; {
homepage = "https://github.com/The-4n/hacPack";
description = "Make and repack Nintendo Switch NCAs/NSPs";
license = licenses.gpl2Only;
maintainers = [ maintainers.ivar ];
platforms = platforms.linux;
};
}

View file

@ -22915,6 +22915,8 @@ in
hamster = callPackage ../applications/misc/hamster { };
hacpack = callPackage ../tools/compression/hacpack { };
hashit = callPackage ../tools/misc/hashit { };
hactool = callPackage ../tools/compression/hactool { };