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

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

26 lines
624 B
Nix
Raw Normal View History

2020-05-02 01:49:22 +00:00
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "nextdns";
2024-02-05 06:04:31 +00:00
version = "1.42.0";
2020-05-02 01:49:22 +00:00
src = fetchFromGitHub {
owner = "nextdns";
repo = "nextdns";
rev = "v${version}";
2024-02-05 06:04:31 +00:00
sha256 = "sha256-aQUz6FK04h3nzieK9fX7odVVt/zcdhXlX3T1Z1rN/ak=";
2020-05-02 01:49:22 +00:00
};
2024-02-05 06:04:31 +00:00
vendorHash = "sha256-DATSGSFRMrX972CWCiSIlOhDuAG3zcVyuILZ3IpVirM=";
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 ];
2023-11-27 01:17:53 +00:00
mainProgram = "nextdns";
2020-05-02 01:49:22 +00:00
};
}