3
0
Fork 0
forked from mirrors/nixpkgs
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
598 B
Nix
Raw Normal View History

2020-05-02 02:49:22 +01:00
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "nextdns";
2022-04-05 10:01:33 +01:00
version = "1.37.11";
2020-05-02 02:49:22 +01:00
src = fetchFromGitHub {
owner = "nextdns";
repo = "nextdns";
rev = "v${version}";
2022-04-05 10:01:33 +01:00
sha256 = "sha256-BOmu4OjDq1IwsPjbqzV2OtvKpaYFqP/XdYL2Ug28TbU=";
2020-05-02 02:49:22 +01:00
};
2022-04-05 10:01:33 +01:00
vendorSha256 = "sha256-M2PlvUsEG3Um+NqbpHdtu9g+Gj6jSXZ9YZ7t1MwjjdI=";
2020-05-02 02:49:22 +01:00
2021-08-26 07:45:51 +01:00
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
2020-05-02 02:49:22 +01:00
meta = with lib; {
description = "NextDNS DNS/53 to DoH Proxy";
homepage = "https://nextdns.io";
license = licenses.mit;
maintainers = with maintainers; [ pnelson ];
};
}