summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/opl-utils
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-01-04 01:26:08 +0100
committerlassulus <lassulus@lassul.us>2018-01-04 01:26:08 +0100
commit878a7f164a3c3b5df81cfba24a2badcd26d46ed0 (patch)
tree00ac2ac32c20c2b7d8551409e1e3514772e44e4b /makefu/5pkgs/opl-utils
parent67dd126fc4244c40cd819be8cc23a15f6b1b1d6c (diff)
parentf6f01faa3ace57ed29af2b953bab34924b70abfc (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/5pkgs/opl-utils')
-rw-r--r--makefu/5pkgs/opl-utils/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/makefu/5pkgs/opl-utils/default.nix b/makefu/5pkgs/opl-utils/default.nix
new file mode 100644
index 000000000..f4430f333
--- /dev/null
+++ b/makefu/5pkgs/opl-utils/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, lib, pkgs, fetchFromGitHub }:
+stdenv.mkDerivation rec {
+ pname = "opl-utils";
+ version = "881c0d2";
+ name = "${pname}-${version}";
+
+ src = fetchFromGitHub {
+ owner = "ifcaro";
+ repo = "open-ps2-loader";
+ rev = version;
+ sha256 = "1c2hgbyp5hymyq60mrk7g0m3gi00wqx165pdwwwb740q0qig07d1";
+ };
+
+
+ preBuild = "cd pc/";
+
+ installPhase = ''
+ mkdir -p $out/bin
+ cp */bin/* $out/bin
+ '';
+
+ meta = {
+ homepage = https://github.com/ifcaro/Open-PS2-Loader;
+ description = "open-ps2-loader utils (opl2iso,iso2opl,genvmc)";
+ license = lib.licenses.afl3;
+ };
+}