2022-11-22 20:23:10 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2021-08-22 19:19:03 +02:00
|
|
|
|
2022-11-22 20:23:10 +01:00
|
|
|
buildGoPackage rec {
|
2021-08-22 19:19:03 +02:00
|
|
|
pname = "filtron";
|
|
|
|
version = "0.2.0";
|
|
|
|
|
2022-11-22 20:23:10 +01:00
|
|
|
goPackagePath = "github.com/asciimoo/filtron";
|
|
|
|
|
2021-08-22 19:19:03 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "asciimoo";
|
|
|
|
repo = "filtron";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "18d3h0i2sfqbc0bjx26jm2n9f37zwp8z9z4wd17sw7nvkfa72a26";
|
|
|
|
};
|
|
|
|
|
2022-11-22 20:23:10 +01:00
|
|
|
goDeps = ./deps.nix;
|
2021-08-22 19:19:03 +02:00
|
|
|
|
|
|
|
# The upstream test checks are obsolete/unmaintained.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Reverse HTTP proxy to filter requests by different rules.";
|
|
|
|
homepage = "https://github.com/asciimoo/filtron";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = [ maintainers.dasj19 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|