Compare commits

...

2 Commits

Author SHA1 Message Date
Whovian NTSN d0b918f2c6 Add `psfo`. 2024-08-30 00:07:19 -04:00
Whovian NTSN 38702db01b Update `hactoolnet`. 2024-08-30 00:05:23 -04:00
3 changed files with 48 additions and 3 deletions

View File

@ -408,6 +408,7 @@
irdkit = pkgs.callPackage ./home/packages/irdkit/package.nix {}; irdkit = pkgs.callPackage ./home/packages/irdkit/package.nix {};
nxtik = pkgs.callPackage ./home/packages/nxtik/package.nix {}; nxtik = pkgs.callPackage ./home/packages/nxtik/package.nix {};
ps3dec = pkgs.callPackage ./home/packages/ps3dec/package.nix {}; ps3dec = pkgs.callPackage ./home/packages/ps3dec/package.nix {};
psfo = pkgs.callPackage ./home/packages/psfo/package.nix {};
rom-properties = pkgs.callPackage ./home/packages/rom-properties/package.nix {}; rom-properties = pkgs.callPackage ./home/packages/rom-properties/package.nix {};
sabretools = pkgs.callPackage ./home/packages/sabretools/package.nix {}; sabretools = pkgs.callPackage ./home/packages/sabretools/package.nix {};
# rom-properties_ninja = pkgs.callPackage ./home/packages/rom-properties/package.nix { useNinja = true; }; # rom-properties_ninja = pkgs.callPackage ./home/packages/rom-properties/package.nix { useNinja = true; };

View File

@ -7,13 +7,13 @@
buildDotnetModule { buildDotnetModule {
pname = "libhac"; pname = "libhac";
version = "2024.06.17"; version = "2024.08.29";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Thealexbarney"; owner = "Thealexbarney";
repo = "LibHac"; repo = "LibHac";
rev = "559b8c89f9ba2913f5e8e6630ecb2c21c13dcd31"; rev = "fefa38ff2204de978efdf9df1ff193d85d4d83e5";
hash = "sha256-m8NNsfnQNFLuPHunKMw2k0avbkH5/p/+Ucx/nwU7JPQ="; hash = "sha256-m+aHMNz0C77dJpukvkNTlTYBlUAkmJxGSB27UuNTGVc=";
}; };
dotnet-sdk = dotnetCorePackages.sdk_8_0; dotnet-sdk = dotnetCorePackages.sdk_8_0;

View File

@ -0,0 +1,44 @@
{
lib,
fetchFromGitHub,
gcc13Stdenv,
}:
gcc13Stdenv.mkDerivation {
pname = "sfo";
version = "v1.02";
src = fetchFromGitHub {
name = "sfo";
owner = "hippie68";
repo = "sfo";
rev = "b38cf18d8a5c60a7f05a604b8a67215b7fb67e0a";
hash = "sha256-USW51qXBxWzbWBHo+Qa4Zm87YFfMDgrf2uW3R0vzPpA=";
};
# nativeBuildInputs = [ makeWrapper ];
buildPhase = ''
runHook preBuild
gcc sfo.c -O3 -s -o sfo
runHook postBuild
'';
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp -v sfo $out/bin/
runHook postInstall
'';
meta = {
homepage = "https://github.com/hippie68/sfo";
description = "DESCRIPTION PLACEHOLDER";
longDescription = "DESCRIPTION PLACEHOLDER";
license = lib.licenses.unfree;
# No license file in repo.
maintainers = [ lib.maintainers.whovian9369 ];
mainProgram = "sfo";
platforms = lib.platforms.linux;
};
}