9 rustPlatform.buildRustPackage rec {
15 source = fetchFromGitHub {
19 hash = "sha256-uybEo098+Y92b2P9CniKFmaV8hQZFuOSthgQRGZ/ncc=";
22 url = "https://github.com/Blobfolio/flaca/releases/download/v${version}/Cargo.lock";
23 hash = "sha256-xAjpw71HgS6fILg5zNuc43s0fIqYcoUMMbCH65xrlww=";
26 runCommand "source-with-lock" { nativeBuildInputs = [ lndir ]; } ''
28 ln -s ${lockFile} $out/Cargo.lock
29 lndir -silent ${source} $out
32 cargoHash = "sha256-w+PeuH6VFIu3iH5EXF6gEwyYoGeqXX0yd5jJs2NqisQ=";
35 description = "A CLI tool to losslessly compress JPEG and PNG images";
36 longDescription = "A CLI tool for x86-64 Linux machines that simplifies the task of maximally, losslessly compressing JPEG and PNG images for use in production web environments";
37 homepage = "https://github.com/Blobfolio/flaca";
38 maintainers = with maintainers; [ zzzsy ];
39 platforms = platforms.linux;
40 license = licenses.wtfpl;
41 mainProgram = "flaca";