diff options
author | Sofi <sofi+git@mailbox.org> | 2023-08-27 04:12:36 +0200 |
---|---|---|
committer | tomberek <tomberek@users.noreply.github.com> | 2023-08-27 00:00:15 -0400 |
commit | cefe605488c6dc22bda48fec6c7bd75127c62d61 (patch) | |
tree | 7dbfdbcb0340996116fe512add314ea1f3eb0c50 /pkgs/tools/games | |
parent | 5c2cdd576e41caafe07d40eabf2b190ce4988290 (diff) |
ps3iso-utils: init at 277db7de
Diffstat (limited to 'pkgs/tools/games')
-rw-r--r-- | pkgs/tools/games/ps3iso-utils/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/tools/games/ps3iso-utils/default.nix b/pkgs/tools/games/ps3iso-utils/default.nix new file mode 100644 index 0000000000000..63093b59b2cc8 --- /dev/null +++ b/pkgs/tools/games/ps3iso-utils/default.nix @@ -0,0 +1,38 @@ +{ stdenv +, fetchFromGitHub +, unstableGitUpdater +, lib +}: +stdenv.mkDerivation { + pname = "ps3iso-utils"; + version = "277db7de"; + + src = fetchFromGitHub { + owner = "bucanero"; + repo = "ps3iso-utils"; + rev = "878090980a9042c61901920fed1b034af215e8c7"; + hash = "sha256-HUx5BqHBvVMUHReuJL0RcyxXOnufSt1Zi/ieAlI2eoc="; + }; + + buildPhase = '' + mkdir -p bin/ + find . -type f -name "*.c" -exec \ + sh -c 'OFILE=`basename "{}" ".c"` && $CC "{}" -o bin/"$OFILE"' \; + ''; + + installPhase = '' + mkdir -p $out/bin + cp bin/* $out/bin + ''; + + passthru.updateScript = unstableGitUpdater { }; + + meta = with lib; { + description = "Estwald's PS3ISO utilities"; + homepage = "https://github.com/bucanero/ps3iso-utils"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ soupglasses ]; + platforms = platforms.all; + }; +} + |