From e8108e0d2227d0e848615c02101cf57f85be3a06 Mon Sep 17 00:00:00 2001 From: michael bishop Date: Mon, 6 Jun 2016 05:00:15 -0300 Subject: [PATCH] toxvpn: update versions and allow systemd to be optional --- pkgs/tools/networking/toxvpn/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/networking/toxvpn/default.nix b/pkgs/tools/networking/toxvpn/default.nix index 3b5627db2156..59aad8d95483 100644 --- a/pkgs/tools/networking/toxvpn/default.nix +++ b/pkgs/tools/networking/toxvpn/default.nix @@ -4,28 +4,28 @@ with lib; let libtoxcoreLocked = stdenv.lib.overrideDerivation libtoxcore (oldAttrs: { - name = "libtoxcore-20151110"; + name = "libtoxcore-20160319"; src = fetchFromGitHub { owner = "irungentoo"; repo = "toxcore"; - rev = "22634a4b93dda5b17cb357cd84ac46fcfdc22519"; - sha256 = "01i92wm5lg2p7k71qn23sfh01xi8acdrwn23rk52n54h424l1fgy"; + rev = "532629d486e3361c7d8d95b38293cc7d61dc4ee5"; + sha256 = "0x8mjrjiafgia9vy7w4zhfzicr2fljx8xgm2ppi4kva2r2z1wm2f"; }; }); in stdenv.mkDerivation { - name = "toxvpn-20151111"; + name = "toxvpn-20160606"; src = fetchFromGitHub { owner = "cleverca22"; repo = "toxvpn"; - rev = "1d06bb7da277d46abb8595cf152210c4ccf0ba7d"; - sha256 = "1himrbdgsbkfha1d87ysj2hwyz4a6z9yxqbai286imkya84q7r15"; + rev = "50a0a439a6b11579bab7cc0744a18a9addc5eb5c"; + sha256 = "12dkvsqs4fljwa1367jzqaynf6i8c98y9fs2lm2mqp3wkw0r3rg9"; }; - buildInputs = [ cmake libtoxcoreLocked jsoncpp libsodium systemd libcap ]; + buildInputs = [ cmake libtoxcoreLocked jsoncpp libsodium libcap ] ++ optional (systemd != null) systemd; - cmakeFlags = [ "-DSYSTEMD=1" ]; + cmakeFlags = optional (systemd != null) [ "-DSYSTEMD=1" ]; meta = with stdenv.lib; { description = "A powerful tool that allows one to make tunneled point to point connections over Tox";