@@ -0,0 +1,26 @@
1+{ stdenv, fetchFromGitHub, libuv, lz4, zlib }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "maxcso";
5+ version = "1.12.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "unknownbrackets";
9+ repo = "maxcso";
10+ rev = "v${version}";
11+ sha256 = "10r0vb3ndpq1pw5224d48nim5xz8jj94zhlfy29br6h6jblq8zap";
12+ };
13+
14+ buildInputs = [ libuv lz4 zlib ];
15+
16+ makeFlags = [ "PREFIX=$(out)" ];
17+
18+ meta = with stdenv.lib; {
19+ homepage = "https://github.com/unknownbrackets/maxcso";
20+ description =
21+ "A fast ISO to CSO compression program for use with PSP and PS2 emulators, which uses multiple algorithms for best compression ratio";
22+ maintainers = with maintainers; [ david-sawatzke ];
23+ platforms = platforms.linux ++ platforms.darwin;
24+ license = licenses.isc;
25+ };
26+}