1 { lib, buildGoModule, fetchFromGitHub, pkg-config, vips, gobject-introspection
8 src = fetchFromGitHub {
11 hash = "sha256-TkfyhePilOwuW6+MtTqYUYvpP/FnFhpsHt2APMFNbvo=";
15 vendorHash = "sha256-LlVZRHotJcHtgeGXIDnbIwpO8iCrBB8nXBnqzHcrJWk=";
17 nativeBuildInputs = [ pkg-config gobject-introspection ];
19 buildInputs = [ vips ]
20 ++ lib.optionals stdenv.isDarwin [ libunwind ];
23 export CGO_LDFLAGS_ALLOW='-(s|w)'
27 description = "Fast and secure on-the-fly image processing server written in Go";
28 mainProgram = "imgproxy";
29 homepage = "https://imgproxy.net";
30 changelog = "https://github.com/imgproxy/imgproxy/blob/${src.rev}/CHANGELOG.md";
31 license = licenses.mit;
32 maintainers = with maintainers; [ paluh ];