10 stdenv.mkDerivation rec {
11 pname = "efficient-compression-tool";
14 src = fetchFromGitHub {
16 repo = "Efficient-Compression-Tool";
18 hash = "sha256-TSV5QXf6GuHAwQrde3Zo9MA1rtpAhtRg0UTzMkBnHB8=";
19 fetchSubmodules = true;
22 nativeBuildInputs = [ cmake nasm ];
24 patches = [ ./use-nixpkgs-libpng.patch ];
26 buildInputs = [ boost libpng ];
30 cmakeFlags = [ "-DECT_FOLDER_SUPPORT=ON" ];
33 # GCC 13: error: 'uint32_t' does not name a type
38 description = "Fast and effective C++ file optimizer";
39 homepage = "https://github.com/fhanau/Efficient-Compression-Tool";
40 license = licenses.asl20;
41 maintainers = [ maintainers.lunik1 ];
42 platforms = platforms.linux;