diff options
author | makefu <github@syntax-fehler.de> | 2018-01-03 04:50:08 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-01-03 13:44:45 +0100 |
commit | e6d56100ae923e9c00ec190e7cfb90594dc768a9 (patch) | |
tree | 31b5eda5568d27f85e0c43aec5aff781bb9e33bc /makefu/5pkgs | |
parent | c33c1ce3fbf90476dbaad44fe99e12eda1fd3f72 (diff) |
ma pkgs.opl-utils: init at 2017-10-17
Diffstat (limited to 'makefu/5pkgs')
-rw-r--r-- | makefu/5pkgs/opl-utils/default.nix | 27 |
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; + }; +} |