nixpkgs/pkgs/by-name/al/albedo/package.nix
Fabian Affolter 72868d9a30 albedo: init at 0.0.16
HTTP reflector and black hole

https://github.com/coreruleset/albedo
2024-10-21 17:22:09 +02:00

34 lines
720 B
Nix

{
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";
};
}