nixpkgs/pkgs/applications/networking/nextdns/default.nix

27 lines
631 B
Nix
Raw Normal View History

2020-05-02 02:49:22 +01:00
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "nextdns";
2020-09-10 20:54:54 +01:00
version = "1.8.3";
2020-05-02 02:49:22 +01:00
src = fetchFromGitHub {
owner = "nextdns";
repo = "nextdns";
rev = "v${version}";
2020-09-10 20:54:54 +01:00
sha256 = "1bl6ky258hnai4v7d0gskn6nf5sdsc3xlwl959iwzqhpp0j3q9xg";
2020-05-02 02:49:22 +01:00
};
vendorSha256 = "09whpzsn16znyrknfm5zlhla253r69j6d751czza4c83m4r36swj";
doCheck = false;
2020-05-02 02:49:22 +01:00
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
meta = with lib; {
description = "NextDNS DNS/53 to DoH Proxy";
homepage = "https://nextdns.io";
license = licenses.mit;
maintainers = with maintainers; [ pnelson ];
};
}