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