diff options
author | makefu <github@syntax-fehler.de> | 2021-10-01 18:53:52 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-10-01 18:53:52 +0200 |
commit | 9e27690932169e895a00355398dd36f4241df37a (patch) | |
tree | d1fad7a8897f3840dbf0c3e8b588fe34f548b663 /makefu | |
parent | 51eaeac0bc3ec8543dbb24fb3398a906fa8b22b3 (diff) |
ma tools/consoles: add opl-pc-tools
Diffstat (limited to 'makefu')
-rw-r--r-- | makefu/2configs/tools/consoles.nix | 4 | ||||
-rw-r--r-- | makefu/5pkgs/opl-pc-tools/default.nix | 44 |
2 files changed, 48 insertions, 0 deletions
diff --git a/makefu/2configs/tools/consoles.nix b/makefu/2configs/tools/consoles.nix index a4c474c5b..154e9b25e 100644 --- a/makefu/2configs/tools/consoles.nix +++ b/makefu/2configs/tools/consoles.nix @@ -1,10 +1,14 @@ { pkgs, ... }: { users.users.makefu.packages = with pkgs; [ + # PS2 opl-utils + #opl-pc-tools hdl-dump bin2iso cue2pops + + # switch nx_game_info hactool nsrenamer diff --git a/makefu/5pkgs/opl-pc-tools/default.nix b/makefu/5pkgs/opl-pc-tools/default.nix new file mode 100644 index 000000000..a670b939a --- /dev/null +++ b/makefu/5pkgs/opl-pc-tools/default.nix @@ -0,0 +1,44 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, pkg-config +, meson +, ninja +, qt5 +, wrapQtAppsHook +}: + +stdenv.mkDerivation rec { + pname = "OPL-PC-Tools"; + version = "3.0"; + + src = fetchFromGitHub { + owner = "brainstream"; + repo = "OPL-PC-Tools"; + rev = version; + sha256 = "1772j99r7ssf45512z5256142gj2ds9mgqv5m8k6hszd5jbnc9qc"; + }; + + #dontUseCmakeConfigure = true; + nativeBuildInputs = [ cmake pkg-config meson ninja + wrapQtAppsHook +]; +buildInputs = with qt5;[ qtbase +qttools +]; + +installPhase = '' +ls -lahtr . + mkdir -p $out/bin + cp oplpctools $out/bin/ + ''; + + meta = with lib; { + homepage = "https://github.com/joshkunz/ashuffle"; + description = "Automatic library-wide shuffle for mpd"; + maintainers = [ maintainers.tcbravo ]; + platforms = platforms.unix; + license = licenses.mit; + }; +} |