summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/opl-utils/default.nix
blob: f4430f333461cae99b24ce83f21c2a7024cb268f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;
  };
}