Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, libuv, lz4, zlib }: 2 3stdenv.mkDerivation rec { 4 pname = "maxcso"; 5 version = "1.13.0"; 6 7 src = fetchFromGitHub { 8 owner = "unknownbrackets"; 9 repo = "maxcso"; 10 rev = "v${version}"; 11 sha256 = "sha256-6LjR1ZMZsi6toz9swPzNmSAlrUykwvVdYi1mR8Ctq5U="; 12 }; 13 14 buildInputs = [ libuv lz4 zlib ]; 15 16 makeFlags = [ "PREFIX=$(out)" ]; 17 18 meta = with 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}