2018-01-03 03:50:08 +00:00
|
|
|
{ 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)";
|
2018-02-26 22:22:34 +00:00
|
|
|
## not yet in stable
|
|
|
|
# license = lib.licenses.afl3;
|
2018-01-03 03:50:08 +00:00
|
|
|
};
|
|
|
|
}
|