nixpkgs/pkgs/tools/networking/dnscrypt-proxy/default.nix
2023-09-21 19:11:11 +02:00

27 lines
615 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "dnscrypt-proxy";
version = "2.1.5";
vendorHash = null;
doCheck = false;
src = fetchFromGitHub {
owner = "DNSCrypt";
repo = "dnscrypt-proxy";
rev = version;
sha256 = "sha256-A9Cu4wcJxrptd9CpgXw4eyMX2nmNAogYBRDeeAjpEZY=";
};
meta = with lib; {
description = "A tool that provides secure DNS resolution";
license = licenses.isc;
homepage = "https://dnscrypt.info/";
maintainers = with maintainers; [ atemu waynr ];
mainProgram = "dnscrypt-proxy";
platforms = with platforms; unix;
};
}