1 { lib, buildGoModule, fetchFromGitHub, fetchpatch }:
7 src = fetchFromGitHub {
11 hash = "sha256-RihxlJvbHq5PaJz89NHl/wyXrKjSiC4XYAs7LSKAo6E=";
14 vendorHash = "sha256-1DRR16WiBGvhOpq12L5njJJRRCIA7ajs1Py9j/3cWPE=";
17 # Update golang version in go.mod
19 url = "https://github.com/asciimoo/filtron/commit/365a0131074b3b12aaa65194bfb542182a63413c.patch";
20 hash = "sha256-QGR6YetEzA/b6tC4uD94LBkWv0+9PG7RD72Tpkn2gQU=";
22 # Add missing go.sum file
24 url = "https://github.com/asciimoo/filtron/commit/077769282b4e392e96a194c8ae71ff9f693560ea.patch";
25 hash = "sha256-BhHbXDKiRjSzC6NKhKUiH6rjt/EgJcEprHMMJ1x/wiQ=";
29 ldflags = [ "-s" "-w" ];
32 description = "Reverse HTTP proxy to filter requests by different rules";
33 homepage = "https://github.com/asciimoo/filtron";
34 license = licenses.agpl3Only;
35 maintainers = [ maintainers.dasj19 ];
36 platforms = platforms.linux;
37 mainProgram = "filtron";