11 rev = "4595bd6a1ae1165ef497251ad85c646dadc8a925";
13 src = fetchFromGitHub {
14 owner = "trickstercache";
17 sha256 = "sha256-BRD8IF3s9RaDorVtXRvbKLVVVXWiEQTQyKBR9jFo1eM=";
22 subPackages = [ "cmd/trickster" ];
25 [ "-extldflags '-static'" "-s" "-w" ] ++
26 (lib.mapAttrsToList (n: v: "-X main.application${n}=${v}") {
27 BuildTime = "1970-01-01T00:00:00+0000";
29 GoVersion = "go${go.version}}";
30 GoArch = "${go.GOARCH}";
36 passthru.tests = { inherit (nixosTests) trickster; };
39 description = "Reverse proxy cache and time series dashboard accelerator";
40 mainProgram = "trickster";
42 Trickster is a fully-featured HTTP Reverse Proxy Cache for HTTP
43 applications like static file servers and web APIs.
45 homepage = "https://trickstercache.org/";
46 license = licenses.asl20;
47 maintainers = with maintainers; [ _1000101 ];
48 platforms = platforms.linux;