depot/third_party/nixpkgs/pkgs/servers/filtron/default.nix
Default email a71eb02b76 Project import generated by Copybara.
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
2022-11-27 10:42:12 +01:00

28 lines
695 B
Nix

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "filtron";
version = "0.2.0";
goPackagePath = "github.com/asciimoo/filtron";
src = fetchFromGitHub {
owner = "asciimoo";
repo = "filtron";
rev = "v${version}";
sha256 = "18d3h0i2sfqbc0bjx26jm2n9f37zwp8z9z4wd17sw7nvkfa72a26";
};
goDeps = ./deps.nix;
# 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;
};
}