nixpkgs/pkgs/tools/networking/stubby/default.nix

34 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, getdns, doxygen, libyaml, darwin, cmake, systemd }:
2018-02-14 20:53:18 +00:00
stdenv.mkDerivation rec {
pname = "stubby";
2020-02-28 18:36:33 +00:00
version = "0.3.0";
2018-02-14 20:53:18 +00:00
src = fetchFromGitHub {
owner = "getdnsapi";
repo = pname;
rev = "v${version}";
2020-02-28 18:36:33 +00:00
sha256 = "04izd1v4fv9l7r75aafkrp6svczbx4cvv1vnfyx5n9105pin11mx";
2018-02-14 20:53:18 +00:00
};
2020-02-28 18:36:33 +00:00
nativeBuildInputs = [ cmake libyaml ];
2018-02-14 20:53:18 +00:00
buildInputs = [ doxygen getdns systemd ]
2018-02-14 20:53:18 +00:00
++ stdenv.lib.optionals stdenv.isDarwin [ darwin.Security ];
meta = with stdenv.lib; {
description = "A local DNS Privacy stub resolver (using DNS-over-TLS)";
longDescription = ''
Stubby is an application that acts as a local DNS Privacy stub
resolver (using RFC 7858, aka DNS-over-TLS). Stubby encrypts DNS
queries sent from a client machine (desktop or laptop) to a DNS
Privacy resolver increasing end user privacy. Stubby is developed by
the getdns team.
2020-02-28 18:36:33 +00:00
'';
homepage = "https://dnsprivacy.org/wiki/x/JYAT";
2018-02-14 20:53:18 +00:00
downloadPage = "https://github.com/getdnsapi/stubby";
2020-02-28 18:36:33 +00:00
maintainers = with maintainers; [ leenaars ehmry ];
2018-02-14 20:53:18 +00:00
license = licenses.bsd3; platforms = platforms.all;
2020-02-28 18:36:33 +00:00
};
2018-02-14 20:53:18 +00:00
}