mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
Each of these maintainers came up in maintainers/scripts/check-maintainer-usernames.
I have manually verified that each of their IDs and usernames 404 when using the API calls
https://api.github.com/user/$ID, https://api.github.com/users/$USERNAME,
and https://api.github.com/users/$USERNAME/starred.
(cherry picked from commit f8776aff47)
41 lines
874 B
Nix
41 lines
874 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildGoModule,
|
|
nix-update-script,
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "dns-over-https";
|
|
version = "2.3.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "m13253";
|
|
repo = "dns-over-https";
|
|
tag = "v${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${version}";
|
|
description = "High performance DNS over HTTPS client & server";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|