biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / networking / nextdns / default.nix
blob678e9f68ee21400eaca85b57e01d8b89581547f6
1 { buildGoModule, fetchFromGitHub, lib }:
3 buildGoModule rec {
4   pname = "nextdns";
5   version = "1.42.0";
7   src = fetchFromGitHub {
8     owner = "nextdns";
9     repo = "nextdns";
10     rev = "v${version}";
11     sha256 = "sha256-aQUz6FK04h3nzieK9fX7odVVt/zcdhXlX3T1Z1rN/ak=";
12   };
14   vendorHash = "sha256-DATSGSFRMrX972CWCiSIlOhDuAG3zcVyuILZ3IpVirM=";
16   ldflags = [ "-s" "-w" "-X main.version=${version}" ];
18   meta = with lib; {
19     description = "NextDNS DNS/53 to DoH Proxy";
20     homepage = "https://nextdns.io";
21     license = licenses.mit;
22     maintainers = with maintainers; [ pnelson ];
23     mainProgram = "nextdns";
24   };