75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
30 lines
660 B
Nix
30 lines
660 B
Nix
{ 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;
|
|
};
|
|
}
|