nixpkgs/pkgs/tools/networking/dnscrypt-wrapper/default.nix
Ryan Mulligan 4cf7a5f29a dnscrypt-wrapper: 0.3 -> 0.4.0
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/ylh6nyxzn765n9vc7byhsb4aryxcsvgd-dnscrypt-wrapper-0.4.0/bin/dnscrypt-wrapper -h` got 0 exit code
- ran `/nix/store/ylh6nyxzn765n9vc7byhsb4aryxcsvgd-dnscrypt-wrapper-0.4.0/bin/dnscrypt-wrapper --help` got 0 exit code
- ran `/nix/store/ylh6nyxzn765n9vc7byhsb4aryxcsvgd-dnscrypt-wrapper-0.4.0/bin/dnscrypt-wrapper -v` and found version 0.4.0
- ran `/nix/store/ylh6nyxzn765n9vc7byhsb4aryxcsvgd-dnscrypt-wrapper-0.4.0/bin/dnscrypt-wrapper --version` and found version 0.4.0
- found 0.4.0 with grep in /nix/store/ylh6nyxzn765n9vc7byhsb4aryxcsvgd-dnscrypt-wrapper-0.4.0
- found 0.4.0 in filename of file in /nix/store/ylh6nyxzn765n9vc7byhsb4aryxcsvgd-dnscrypt-wrapper-0.4.0
2018-02-25 20:08:18 -08:00

27 lines
741 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libsodium, libevent }:
stdenv.mkDerivation rec {
name = "dnscrypt-wrapper-${version}";
version = "0.4.0";
src = fetchFromGitHub {
owner = "Cofyc";
repo = "dnscrypt-wrapper";
rev = "v${version}";
sha256 = "121y93sb06qc50fj7vv47r6dpzv77hh7ywl7sgrfp8i4jf4kaspa";
};
enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ libsodium libevent ];
meta = with stdenv.lib; {
description = "A tool for adding dnscrypt support to any name resolver";
homepage = https://dnscrypt.org/;
license = licenses.isc;
maintainers = with maintainers; [ tstrobel joachifm ];
platforms = platforms.linux;
};
}