1 { lib, stdenv, fetchFromGitHub, libuv, lz4, zlib }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
8 owner = "unknownbrackets";
11 sha256 = "sha256-6LjR1ZMZsi6toz9swPzNmSAlrUykwvVdYi1mR8Ctq5U=";
14 buildInputs = [ libuv lz4 zlib ];
16 makeFlags = [ "PREFIX=$(out)" ];
19 homepage = "https://github.com/unknownbrackets/maxcso";
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 mainProgram = "maxcso";