depot/pkgs/by-name/al/albedo/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

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