···1-{ stdenv, fetchurl, libsodium }:
23stdenv.mkDerivation rec {
4 name = "dnscrypt-proxy-1.4.3";
···8 sha256 = "0cij80ryxnikpmm6s79c2fqg6bdiz1wdy50xrnd7w954vw9mhr0b";
9 };
1011- buildInputs = [ libsodium ];
00001213 meta = {
14 description = "A tool for securing communications between a client and a DNS resolver";
···1+{ stdenv, fetchurl, libsodium, pkgconfig, systemd }:
23stdenv.mkDerivation rec {
4 name = "dnscrypt-proxy-1.4.3";
···8 sha256 = "0cij80ryxnikpmm6s79c2fqg6bdiz1wdy50xrnd7w954vw9mhr0b";
9 };
1011+ configureFlags = ''
12+ ${stdenv.lib.optionalString stdenv.isLinux "--with-systemd"}
13+ '';
14+15+ buildInputs = [ pkgconfig libsodium ] ++ stdenv.lib.optional stdenv.isLinux systemd;
1617 meta = {
18 description = "A tool for securing communications between a client and a DNS resolver";