2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
|
2019-11-01 09:56:59 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "trickster";
|
|
|
|
version = "0.1.10";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/Comcast/trickster";
|
|
|
|
|
|
|
|
goDeps = ./trickster_deps.nix;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Comcast";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "12z71rf03g2x8r7cgns0n4n46r0gjsfyig6z9r5xrn9kfghabfi8";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-11-01 09:56:59 +00:00
|
|
|
description = "Reverse proxy cache for the Prometheus HTTP APIv1";
|
|
|
|
homepage = "https://github.com/Comcast/trickster";
|
|
|
|
license = licenses.asl20;
|
2020-07-29 11:57:20 +01:00
|
|
|
maintainers = with maintainers; [ _1000101 ];
|
2019-11-01 09:56:59 +00:00
|
|
|
};
|
2020-07-31 05:07:43 +01:00
|
|
|
}
|