Compare commits
2 commits
d035e7427c
...
d0b918f2c6
Author | SHA1 | Date | |
---|---|---|---|
d0b918f2c6 | |||
38702db01b |
3 changed files with 48 additions and 3 deletions
|
@ -408,6 +408,7 @@
|
|||
irdkit = pkgs.callPackage ./home/packages/irdkit/package.nix {};
|
||||
nxtik = pkgs.callPackage ./home/packages/nxtik/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 {};
|
||||
sabretools = pkgs.callPackage ./home/packages/sabretools/package.nix {};
|
||||
# rom-properties_ninja = pkgs.callPackage ./home/packages/rom-properties/package.nix { useNinja = true; };
|
||||
|
|
|
@ -7,13 +7,13 @@
|
|||
|
||||
buildDotnetModule {
|
||||
pname = "libhac";
|
||||
version = "2024.06.17";
|
||||
version = "2024.08.29";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Thealexbarney";
|
||||
repo = "LibHac";
|
||||
rev = "559b8c89f9ba2913f5e8e6630ecb2c21c13dcd31";
|
||||
hash = "sha256-m8NNsfnQNFLuPHunKMw2k0avbkH5/p/+Ucx/nwU7JPQ=";
|
||||
rev = "fefa38ff2204de978efdf9df1ff193d85d4d83e5";
|
||||
hash = "sha256-m+aHMNz0C77dJpukvkNTlTYBlUAkmJxGSB27UuNTGVc=";
|
||||
};
|
||||
|
||||
dotnet-sdk = dotnetCorePackages.sdk_8_0;
|
||||
|
|
44
home/packages/psfo/package.nix
Normal file
44
home/packages/psfo/package.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue