nixos-config/pkgs/ctrld/default.nix

27 lines
620 B
Nix
Raw Normal View History

2025-01-15 06:00:12 +00:00
{ lib, fetchFromGitHub, buildGoModule, }:
2024-08-16 02:04:04 +00:00
buildGoModule rec {
pname = "ctrld";
version = "1.3.7";
src = fetchFromGitHub {
owner = "Control-D-Inc";
repo = "ctrld";
rev = "v${version}";
hash = "sha256-3rAGH3GfCQR+Ii5KazsgQzydeWlPeHpiEvHNHQXjNVQ=";
};
vendorHash = "sha256-UN0gOFxMS0iWvg6Iv+aeYoduffJ9Zanz1htRh3ANjkY=";
# It takes a long time so uhhh...
doCheck = false;
meta = with lib; {
homepage = "https://github.com/Control-D-Inc/ctrld";
description = "Multi-protocol DNS proxy";
license = licenses.mit;
mainProgram = "ctrld";
platforms = platforms.all;
};
}