1
0
Fork 0
nix-overlay/packages/controld.nix

26 lines
692 B
Nix
Raw Normal View History

2024-07-26 15:41:48 +00:00
{ pkgs, lib }:
pkgs.buildGoModule rec {
pname = "controld";
2024-12-06 02:02:07 +00:00
version = "1.3.11";
2024-07-26 15:41:48 +00:00
src = pkgs.fetchFromGitHub {
owner = "Control-D-Inc";
repo = "ctrld";
rev = "v${version}";
2024-12-06 02:02:07 +00:00
hash = "sha256-McUQghJc8ecS3Le7CGkUCkhkcIO9+h9IJicrBMW2yJk=";
2024-07-26 15:41:48 +00:00
};
2024-12-06 02:02:07 +00:00
vendorHash = "sha256-QPq75h8NaG8Aoxf7fuNkqRSZRK4DQsP41aPhD9nZ7ks=";
2024-07-26 15:41:48 +00:00
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
doCheck = false;
meta = with lib; {
description = "A highly configurable, multi-protocol DNS forwarding proxy";
homepage = "https://github.com/Control-D-Inc/ctrld";
license = [ licenses.mit ];
platforms = [ "x86_64-darwin" "aarch64-darwin" "aarch64-linux" "x86_64-linux" ];
};
}