libtoxcore: init at 0.1.6 and move old versions away
This commit is contained in:
parent
4450327c06
commit
8cef304ede
41
pkgs/development/libraries/libtoxcore/default.nix
Normal file
41
pkgs/development/libraries/libtoxcore/default.nix
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, cmake, libsodium, ncurses, libopus, libmsgpack
|
||||||
|
, libvpx, check, libconfig, pkgconfig }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "libtoxcore-${version}";
|
||||||
|
version = "0.1.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "TokTok";
|
||||||
|
repo = "c-toxcore";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0a00gjar6ibaqa2cm81867nk7chsd141v360268v7ym2mxwa0ya6";
|
||||||
|
};
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DBUILD_NTOX=ON"
|
||||||
|
"-DDHT_BOOTSTRAP=ON"
|
||||||
|
"-DBOOTSTRAP_DAEMON=ON"
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libsodium libmsgpack ncurses
|
||||||
|
] ++ stdenv.lib.optionals (!stdenv.isArm) [
|
||||||
|
libopus
|
||||||
|
libvpx
|
||||||
|
];
|
||||||
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
|
checkInputs = [ check ];
|
||||||
|
|
||||||
|
checkPhase = "ctest";
|
||||||
|
|
||||||
|
# for some reason the tests are not running - it says "No tests found!!"
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "P2P FOSS instant messaging application aimed to replace Skype with crypto";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
maintainers = with maintainers; [ peterhoeg ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -2,7 +2,7 @@
|
|||||||
, libvpx, check, libconfig, pkgconfig }:
|
, libvpx, check, libconfig, pkgconfig }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "tox-core-dev-20160727";
|
name = "tox-core-new-20160727";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "irungentoo";
|
owner = "irungentoo";
|
@ -4,9 +4,9 @@
|
|||||||
let
|
let
|
||||||
version = "4c220e336330213b151a0c20307d0a1fce04ac9e";
|
version = "4c220e336330213b151a0c20307d0a1fce04ac9e";
|
||||||
date = "20150126";
|
date = "20150126";
|
||||||
in
|
|
||||||
stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "tox-core-${date}-${builtins.substring 0 7 version}";
|
name = "tox-core-old-${date}-${builtins.substring 0 7 version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "irungentoo";
|
owner = "irungentoo";
|
@ -8581,9 +8581,11 @@ with pkgs;
|
|||||||
|
|
||||||
libtorrentRasterbar_1_0 = callPackage ../development/libraries/libtorrent-rasterbar/1.0.nix { };
|
libtorrentRasterbar_1_0 = callPackage ../development/libraries/libtorrent-rasterbar/1.0.nix { };
|
||||||
|
|
||||||
libtoxcore = callPackage ../development/libraries/libtoxcore/old-api { };
|
libtoxcore-old = callPackage ../development/libraries/libtoxcore/old-api.nix { };
|
||||||
|
|
||||||
libtoxcore-dev = callPackage ../development/libraries/libtoxcore/new-api { };
|
libtoxcore-new = callPackage ../development/libraries/libtoxcore/new-api.nix { };
|
||||||
|
|
||||||
|
libtoxcore = callPackage ../development/libraries/libtoxcore { };
|
||||||
|
|
||||||
libtap = callPackage ../development/libraries/libtap { };
|
libtap = callPackage ../development/libraries/libtap { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user