nixpkgs/pkgs/tools/networking/stubby/default.nix
R. RyanTM 7272162179 stubby: 0.2.2 -> 0.2.3 (#40465)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/stubby/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/f1ycc05g0mc6vpz59wwsg8a2ikg67pjm-stubby-0.2.3/bin/stubby -h’ got 0 exit code
- ran ‘/nix/store/f1ycc05g0mc6vpz59wwsg8a2ikg67pjm-stubby-0.2.3/bin/stubby -V’ and found version 0.2.3
- found 0.2.3 with grep in /nix/store/f1ycc05g0mc6vpz59wwsg8a2ikg67pjm-stubby-0.2.3
- directory tree listing: https://gist.github.com/5e53c11fefe1a4b45ac73905083dcbd6

- du listing: https://gist.github.com/1f5e9d63405c461f5a846e92de6cf816
2018-05-16 15:08:23 +02:00

36 lines
1.2 KiB
Nix

{ stdenv, fetchFromGitHub, getdns, libtool, m4, file , doxygen
, autoreconfHook, automake, check, libbsd, libyaml, darwin }:
stdenv.mkDerivation rec {
pname = "stubby";
name = "${pname}-${version}";
version = "0.2.3";
src = fetchFromGitHub {
owner = "getdnsapi";
repo = pname;
rev = "v${version}";
sha256 = "1n02dj1hvh0aml54asxj42f0j9wfgiyavbh0gr0j9lm4f2xcd60w";
};
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;
};
}