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:
parent
5cc55e9523
commit
2aa89519a0
@ -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-libs=${libsodium}/lib"
|
"--with-libsodium-headers=${libsodium}/include"
|
||||||
"--enable-ntox" ];
|
"--with-libsodium-libs=${libsodium}/lib"
|
||||||
|
"--enable-ntox"
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ autoconf libtool automake libsodium ncurses libconfig
|
buildInputs = [
|
||||||
pkgconfig ];
|
autoconf libtool automake libsodium ncurses libconfig pkgconfig
|
||||||
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user