nixpkgs/pkgs/tools/networking/dnscrypt-proxy/default.nix
Arseniy Seroka fcd855fa7f Merge pull request #8883 from joachifm/dnscrypt-proxy-1_6_0
dnscrypt-proxy: 1.5.0 -> 1.6.0
2015-07-20 00:33:04 +03:00

25 lines
786 B
Nix

{ stdenv, fetchurl, libsodium, pkgconfig, systemd }:
stdenv.mkDerivation rec {
name = "dnscrypt-proxy-${version}";
version = "1.6.0";
src = fetchurl {
url = "http://download.dnscrypt.org/dnscrypt-proxy/${name}.tar.bz2";
sha256 = "0zfw9vi9qbsc55awncyigqfqp25v5adqk6jpg1jdfkmbqqfykk70";
};
configureFlags = ''
${stdenv.lib.optionalString stdenv.isLinux "--with-systemd"}
'';
buildInputs = [ pkgconfig libsodium ] ++ stdenv.lib.optional stdenv.isLinux systemd;
meta = {
description = "A tool for securing communications between a client and a DNS resolver";
homepage = http://dnscrypt.org/;
license = stdenv.lib.licenses.isc;
maintainers = with stdenv.lib.maintainers; [ joachifm jgeerds ];
platforms = stdenv.lib.platforms.all;
};
}