blob: 9182e664b9dec4bb133e9431d24cd5061cc6afb3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
lib,
fetchFromGitHub,
buildGoModule,
nix-update-script,
}:
buildGoModule (finalAttrs: {
pname = "dns-over-https";
version = "2.3.10";
src = fetchFromGitHub {
owner = "m13253";
repo = "dns-over-https";
tag = "v${finalAttrs.version}";
hash = "sha256-WQ6OyZfQMtW9nZcvlBjHk0R96NQr0Lc2mGB5taC0d6k=";
};
vendorHash = "sha256-46BrN50G5IhdMwMVMU9Wdj/RFzUzIPoTRucCedMGu4g=";
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${finalAttrs.version}";
description = "High performance DNS over HTTPS client & server";
license = lib.licenses.mit;
maintainers = [ ];
platforms = lib.platforms.all;
};
})
|