libtoxcore: Update to latest Git master.

The GitHub repository has changed the name to "toxcore".
Also indented buildInputs/configureFlags a bit less messy.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2014-07-28 20:21:16 +02:00
parent 5cc55e9523
commit 2aa89519a0
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -2,28 +2,31 @@
, libconfig, pkgconfig }: , libconfig, pkgconfig }:
let let
version = "388b1229b"; version = "e1158be5a6";
date = "20140220"; date = "20140728";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "tox-core-${date}-${version}"; name = "tox-core-${date}-${version}";
src = fetchurl { src = fetchurl {
url = "https://github.com/irungentoo/ProjectTox-Core/tarball/${version}"; url = "https://github.com/irungentoo/toxcore/tarball/${version}";
name = "${name}.tar.gz"; name = "${name}.tar.gz";
sha256 = "12vggiv0gyv8a2rd5qrv04b7yhfhxb7r0yh75gg5n4jdpcbhvgsd"; sha256 = "1rsh1pbwvngsx5slmd6608b1zqs3jvq70bjr9zyziap9vxka3z1v";
}; };
preConfigure = '' preConfigure = ''
autoreconf -i autoreconf -i
''; '';
configureFlags = [ "--with-libsodium-headers=${libsodium}/include" configureFlags = [
"--with-libsodium-headers=${libsodium}/include"
"--with-libsodium-libs=${libsodium}/lib" "--with-libsodium-libs=${libsodium}/lib"
"--enable-ntox" ]; "--enable-ntox"
];
buildInputs = [ autoconf libtool automake libsodium ncurses libconfig buildInputs = [
pkgconfig ]; autoconf libtool automake libsodium ncurses libconfig pkgconfig
];
doCheck = true; doCheck = true;