aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/servers/trickster/trickster.nix
blob: cb8c87aa611a44b481eb8283537b3c35e9dce5af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, buildGoPackage, fetchFromGitHub }:

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;

  meta = with stdenv.lib; {
    description = "Reverse proxy cache for the Prometheus HTTP APIv1";
    homepage = "https://github.com/Comcast/trickster";
    license = licenses.asl20;
    maintainers = with maintainers; [ _1000101 ];
  };
}