hacpack: init at 1.36 (#115357)
This commit is contained in:
parent
368bdd13f6
commit
3e616e0874
2 changed files with 32 additions and 0 deletions
30
pkgs/tools/compression/hacpack/default.nix
Normal file
30
pkgs/tools/compression/hacpack/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue