9 stdenv.mkDerivation rec {
13 outputs = [ "out" "dev" ];
15 src = fetchFromGitHub {
19 hash = "sha256-ZcrRz2xSoRepgG8KZYY/JzgONerItW0e6mH1PYsko98=";
25 url = "https://cgit.freebsd.org/ports/plain/graphics/brunsli/files/patch-CMakeLists.txt";
27 hash = "sha256-/WPOG9OcEDj9ObBSXEM8Luq4Rix+PS2MvsYyHhK5mns=";
30 url = "https://cgit.freebsd.org/ports/plain/graphics/brunsli/files/patch-brunsli.cmake";
32 hash = "sha256-+HXA9Tin+l2St7rRUEBM0AfhAjSoFxz8UX7hsg12aFg=";
38 '' + lib.optionalString stdenv.isDarwin ''
51 description = "Lossless JPEG repacking library";
52 homepage = "https://github.com/google/brunsli";
53 license = lib.licenses.mit;
54 maintainers = with lib.maintainers; [ dotlambda ];