3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/nextdns/default.nix

27 lines
630 B
Nix
Raw Normal View History

2020-05-02 02:49:22 +01:00
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "nextdns";
2021-03-13 09:26:47 +00:00
version = "1.11.0";
2020-05-02 02:49:22 +01:00
src = fetchFromGitHub {
owner = "nextdns";
repo = "nextdns";
rev = "v${version}";
2021-03-13 09:26:47 +00:00
sha256 = "sha256-gnWFgzfMMnn8O7zDN5LW3cMIz5/wmgEW9fI9aJBEah8=";
2020-05-02 02:49:22 +01:00
};
2021-01-21 17:56:05 +00:00
vendorSha256 = "sha256-kmszMqkDMaL+Z6GcZmQyeRShKKS/VGdn9vabYPW/kCc=";
2020-05-02 02:49:22 +01:00
doCheck = false;
2020-05-02 02:49:22 +01:00
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
meta = with lib; {
description = "NextDNS DNS/53 to DoH Proxy";
homepage = "https://nextdns.io";
license = licenses.mit;
maintainers = with maintainers; [ pnelson ];
};
}