1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/tools/networking/stubby/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

35 lines
1.2 KiB
Nix

{ stdenv, fetchFromGitHub, getdns, libtool, m4, file , doxygen
, autoreconfHook, automake, check, libbsd, libyaml, darwin }:
stdenv.mkDerivation rec {
pname = "stubby";
version = "0.2.6";
src = fetchFromGitHub {
owner = "getdnsapi";
repo = pname;
rev = "v${version}";
sha256 = "164gm5cbnq785s78bqmbsgxrxkq8hw930xwkxxzi1f6jgz928dnf";
};
nativeBuildInputs = [ libtool m4 libbsd libyaml autoreconfHook ];
buildInputs = [ doxygen getdns automake file check ]
++ 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.
'';
homepage = https://dnsprivacy.org/wiki/x/JYAT;
downloadPage = "https://github.com/getdnsapi/stubby";
maintainers = with maintainers; [ leenaars ];
license = licenses.bsd3; platforms = platforms.all;
};
}