1
0
Fork 0
nix-overlay/packages/controld.nix
Daniel Kempkens 1bf2ae0396
All checks were successful
Build / build-amd64-linux (push) Successful in 1m7s
Build / build-arm64-linux (push) Successful in 3m32s
controld: init
2024-07-26 17:41:48 +02:00

25 lines
691 B
Nix

{ pkgs, lib }:
pkgs.buildGoModule rec {
pname = "controld";
version = "1.3.7";
src = pkgs.fetchFromGitHub {
owner = "Control-D-Inc";
repo = "ctrld";
rev = "v${version}";
hash = "sha256-3rAGH3GfCQR+Ii5KazsgQzydeWlPeHpiEvHNHQXjNVQ=";
};
vendorHash = "sha256-UN0gOFxMS0iWvg6Iv+aeYoduffJ9Zanz1htRh3ANjkY=";
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" ];
};
}