Skip to content

Commit

Permalink
dns-over-https: init at 2.3.7 (NixOS#365313)
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol authored Dec 17, 2024
2 parents 9e1c76b + 64372b2 commit 57b4df0
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions pkgs/by-name/dn/dns-over-https/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
lib,
fetchFromGitHub,
buildGoModule,
nix-update-script,
}:
buildGoModule rec {
pname = "dns-over-https";
version = "2.3.7";

src = fetchFromGitHub {
owner = "m13253";
repo = "dns-over-https";
tag = "v${version}";
hash = "sha256-3mg4kDlIqv+psQU/FxA9TksGVAYaOymEDpAhMBZuqKI=";
};

vendorHash = "sha256-Dun1HWjV44PTpnijWBpGXqmKxtUw+Qu8rqsyMhEpkb4=";

ldflags = [
"-w"
"-s"
];

subPackages = [
"doh-client"
"doh-server"
];

passthru.updateScript = nix-update-script { };

meta = {
homepage = "https://github.com/m13253/dns-over-https";
changelog = "https://github.com/m13253/dns-over-https/releases/tag/v${version}";
description = "High performance DNS over HTTPS client & server";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ cryo ];
platforms = lib.platforms.all;
};
}

0 comments on commit 57b4df0

Please sign in to comment.