dnscrypt-proxy: minor superficial improvements

- Use upstream description and explicitly set platforms = all
- Coding conventions fix
This commit is contained in:
Joachim Fasting 2014-11-21 15:42:11 +01:00
parent 444bda1936
commit 119d93e223
2 changed files with 10 additions and 8 deletions

View File

@ -6,7 +6,8 @@ let
dnscrypt-proxy = pkgs.dnscrypt-proxy;
cfg = config.services.dnscrypt-proxy;
uid = config.ids.uids.dnscrypt-proxy;
daemonArgs = [ "--daemonize"
daemonArgs =
[ "--daemonize"
"--user=dnscrypt-proxy"
"--local-address=${cfg.localAddress}:${toString cfg.port}"
(optionalString cfg.tcpOnly "--tcp-only")

View File

@ -11,9 +11,10 @@ stdenv.mkDerivation rec {
buildInputs = [ libsodium ];
meta = {
description = "A DNS proxy which encrypts and authenticates requests using the DNSCrypt protocol.";
description = "A tool for securing communications between a client and a DNS resolver";
homepage = http://dnscrypt.org/;
license = with stdenv.lib.licenses; [ isc ];
maintainers = with stdenv.lib.maintainers; [ joachifm ];
platform = stdenv.lib.platforms.all;
};
}