From 2e9c42e1c8a766fcefa869eee93dbb13d48a75ed Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Thu, 14 Nov 2024 14:10:38 +0100 Subject: [PATCH] dnslink-std-go: init at 0.6.0 --- pkgs/by-name/dn/dnslink-std-go/package.nix | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pkgs/by-name/dn/dnslink-std-go/package.nix diff --git a/pkgs/by-name/dn/dnslink-std-go/package.nix b/pkgs/by-name/dn/dnslink-std-go/package.nix new file mode 100644 index 000000000000..c061c74035a6 --- /dev/null +++ b/pkgs/by-name/dn/dnslink-std-go/package.nix @@ -0,0 +1,26 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "dnslink"; + version = "0.6.0"; + src = fetchFromGitHub { + owner = "dnslink-std"; + repo = "go"; + rev = "refs/tags/v${version}"; + hash = "sha256-aATnNDUogNS4jBoWxUAFYFMa2ZS0+th3XH+1KWqwfWQ="; + }; + vendorHash = "sha256-RH55yfIO9jHLbjtEdUF5QpL5ILV5ctX2hBYBJWutmUA="; + doCheck = false; # Uses network, unsuprisingly. + meta = { + changelog = "https://github.com/dnslink-std/go/releases/tag/v${version}"; + description = "Reference implementation for DNSLink in golang"; + homepage = "https://dnslink.org/"; + license = lib.licenses.mit; + mainProgram = "dnslink"; + maintainers = with lib.maintainers; [ ehmry ]; + }; +}