diff options
author | makefu <github@syntax-fehler.de> | 2022-01-30 13:46:51 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2022-01-30 13:46:51 +0100 |
commit | a721b7ad9b605dc90fa731b2f9a176f2238dc82f (patch) | |
tree | aabf406f535ea98977823e6f2c5110622bb8dafd /makefu | |
parent | 3de63d2e464029ae7b2f3cc8381d9e000adcc181 (diff) |
ma pkgs.sfo: init
Diffstat (limited to 'makefu')
-rw-r--r-- | makefu/2configs/tools/consoles.nix | 5 | ||||
-rw-r--r-- | makefu/5pkgs/sfo/default.nix | 29 |
2 files changed, 34 insertions, 0 deletions
diff --git a/makefu/2configs/tools/consoles.nix b/makefu/2configs/tools/consoles.nix index 154e9b25e..7d58daa3f 100644 --- a/makefu/2configs/tools/consoles.nix +++ b/makefu/2configs/tools/consoles.nix @@ -8,9 +8,14 @@ bin2iso cue2pops + # PS4 + pkgrename + # switch nx_game_info hactool nsrenamer + sfo + exfatprogs exfat-utils exfat ]; } diff --git a/makefu/5pkgs/sfo/default.nix b/makefu/5pkgs/sfo/default.nix new file mode 100644 index 000000000..3cb7d3d7e --- /dev/null +++ b/makefu/5pkgs/sfo/default.nix @@ -0,0 +1,29 @@ +{ lib, stdenv, fetchFromGitHub, curl +}: +stdenv.mkDerivation rec { + name = "sfo"; + version = "1.02"; + + src = fetchFromGitHub { + owner = "hippie68"; + repo = "sfo"; + rev = "b38cf18d8a5c60a7f05a604b8a67215b7fb67e0a"; + sha256 = "141yyd5lgdz5vbghl3ncaxh3nvv6p03gks0ib3dnrif1lpbbj9ai"; + }; + + buildInputs = [ curl.dev ]; + buildPhase = '' + gcc sfo.c -o sfo + ''; + installPhase = '' + install -D sfo $out/bin/sfo + ''; + + meta = { + description = "program that reads a file to print or modify its SFO parameters"; + homepage = "https://github.com/hippie68/sfo"; + license = lib.licenses.gpl3; + platforms = lib.platforms.linux; + maintainers = with lib.maintainers; [ makefu ]; + }; +} |