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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
597 B
Nix
Raw Normal View History

2020-05-02 01:49:22 +00:00
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "nextdns";
2022-11-19 15:26:59 +00:00
version = "1.38.0";
2020-05-02 01:49:22 +00:00
src = fetchFromGitHub {
owner = "nextdns";
repo = "nextdns";
rev = "v${version}";
2022-11-19 15:26:59 +00:00
sha256 = "sha256-dJ/3MBEsA8M4pfE+GPT/bNnK3n4fL3Hwk0umgMTJAfY=";
2020-05-02 01:49:22 +00:00
};
2022-11-19 15:26:59 +00:00
vendorSha256 = "sha256-pCta8FzGVpl9fvnnjQ7/e2x/HolXAuxnz0vwKejGk98=";
2020-05-02 01:49:22 +00:00
2021-08-26 06:45:51 +00:00
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
2020-05-02 01:49:22 +00:00
meta = with lib; {
description = "NextDNS DNS/53 to DoH Proxy";
homepage = "https://nextdns.io";
license = licenses.mit;
maintainers = with maintainers; [ pnelson ];
};
}