Unverified Commit a2b952ed authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

albedo: init at 0.0.16 (#350264)

parents 499f5e10 72868d9a
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule rec {
  pname = "albedo";
  version = "0.0.16";

  src = fetchFromGitHub {
    owner = "coreruleset";
    repo = "albedo";
    rev = "refs/tags/v${version}";
    hash = "sha256-HMW0SIcPDCy2QNfxpMke+/d1XCNpyx6RL6RCZAmU+WE=";
  };

  vendorHash = "sha256-3YBcu/GEonEoORbB7x6YGpIl7kEzUQ9PAZNFB8NKb+c=";

  ldflags = [
    "-s"
    "-w"
  ];

  meta = {
    description = "HTTP reflector and black hole";
    homepage = "https://github.com/coreruleset/albedo";
    changelog = "https://github.com/coreruleset/albedo/releases/tag/v${version}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ fab ];
    mainProgram = "albedo";
  };
}