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
595 B
Nix
Raw Normal View History

2020-05-02 01:49:22 +00:00
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "nextdns";
2023-01-31 21:58:39 +00:00
version = "1.39.4";
2020-05-02 01:49:22 +00:00
src = fetchFromGitHub {
owner = "nextdns";
repo = "nextdns";
rev = "v${version}";
2023-01-31 21:58:39 +00:00
sha256 = "sha256-7inMloKU/AL4s/p171xCzs4p4+AcLsvsbVsELK9vhFc=";
2020-05-02 01:49:22 +00:00
};
2023-01-31 21:58:39 +00:00
vendorHash = "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 ];
};
}