libtoxcore: bump, build DHT bootstrap daemon

This commit is contained in:
Emery Hemingway 2014-12-20 15:43:43 -05:00
parent cbe467ef99
commit 3c05529df9

View File

@ -1,17 +1,18 @@
{ stdenv, fetchurl, autoconf, libtool, automake, libsodium, ncurses, libopus { stdenv, fetchFromGitHub, autoconf, libtool, automake, libsodium, ncurses, libopus
, libvpx, check, libconfig, pkgconfig }: , libvpx, check, libconfig, pkgconfig }:
let let
version = "f6b3e6e8fe98d2457827ac6da944e715f008a08a"; version = "f6b3e6e8fe98d2457827ac6da944e715f008a08a";
date = "20141203"; date = "20141219";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "tox-core-${date}-${version}"; name = "tox-core-${date}-${builtins.substring 0 7 version}";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/irungentoo/toxcore/tarball/${version}"; owner = "irungentoo";
name = "${name}.tar.gz"; repo = "toxcore";
sha256 = "1zsx7saqs25vva3pp0bw31yqzrn40fx84w42ig6fiv723k9gpdzy"; rev = version;
sha256 = "1wd817kix3zjyzzb68jz02iir3z4y5k5p40dgl7a29757yb9m608";
}; };
NIX_LDFLAGS = "-lgcc_s"; NIX_LDFLAGS = "-lgcc_s";
@ -33,6 +34,7 @@ stdenv.mkDerivation rec {
"--with-libsodium-headers=${libsodium}/include" "--with-libsodium-headers=${libsodium}/include"
"--with-libsodium-libs=${libsodium}/lib" "--with-libsodium-libs=${libsodium}/lib"
"--enable-ntox" "--enable-ntox"
"--enable-daemon"
]; ];
buildInputs = [ buildInputs = [