git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #5217 from geerds/tox

Tox: Update libtoxcore, qtox, utox and toxic

commit683740466a76521ceb193c579c54d27c5f5db377 authorDomen Kožar <domen@dev.si> dateThu 4 Dec 2014, 14:12 (12 years ago) parente019249c81575e
5 files changed+43−40
pkgs/applications/networking/instant-messengers/pidgin-plugins/tox-prpl/default.nix+9−7 pkgs/applications/networking/instant-messengers/qtox/default.nix+9−8 pkgs/applications/networking/instant-messengers/toxic/default.nix+13−13 pkgs/applications/networking/instant-messengers/utox/default.nix+5−5 pkgs/development/libraries/libtoxcore/default.nix+7−7
pkgs/applications/networking/instant-messengers/pidgin-plugins/tox-prpl/default.nix+9−7
@@ -1,16 +1,18 @@
1−{ stdenv, fetchurl, libtoxcore, pidgin, autoconf, automake, libtool, libsodium } :
1+{ stdenv, fetchFromGitHub, libtoxcore, pidgin, autoconf, automake, libtool
2+, libsodium } :
23
34let
4− version = "17a3fd9199";
5− date = "20131012";
5+ version = "dd181722ea";
6+ date = "20141202";
67in
78stdenv.mkDerivation rec {
89 name = "tox-prpl-${date}-${version}";
910
10− src = fetchurl {
11− url = "https://github.com/jin-eld/tox-prpl/tarball/${version}";
12− name = "${name}.tar.gz";
13− sha256 = "0sz5wkyfwmhaj652xpsxq4p252cmmfa1vy6mp3jfyn145c758v9n";
11+ src = fetchFromGitHub {
12+ owner = "jin-eld";
13+ repo = "tox-prpl";
14+ rev = "${version}";
15+ sha256 = "0wzyvg11h4ym28zqd24p35lza3siwm2519ga0yhk98rv458zks0v";
1416 };
1517
1618 NIX_LDFLAGS = "-lssp -lsodium";
pkgs/applications/networking/instant-messengers/qtox/default.nix+9−8
@@ -1,29 +1,30 @@
1−{ stdenv, fetchFromGitHub, pkgconfig, libtoxcore, qt5, openal, opencv }:
1+{ stdenv, fetchFromGitHub, pkgconfig, libtoxcore, qt5, openalSoft, opencv
2+, libsodium }:
23
34
45stdenv.mkDerivation rec {
5− name = "qtox-dev-20140918";
6+ name = "qtox-dev-20141201";
67
78 src = fetchFromGitHub {
89 owner = "tux3";
910 repo = "qTox";
10− rev = "f06ec65bca";
11− sha256 = "0r7qc444bgsxawyya5nw3xk1c50b90307lcwazs8mn35h4snr97m";
11+ rev = "qtox-windows-1417469442.11";
12+ sha256 = "02nxj0w5qbgc79n8mgyqldk1yadf4p8pysn79f7fvi8fxq4j0j5n";
1213 };
1314
14− buildInputs = [ pkgconfig libtoxcore qt5 openal opencv ];
15+ buildInputs = [ pkgconfig libtoxcore qt5 openalSoft opencv libsodium ];
1516
1617 configurePhase = "qmake";
1718
1819 installPhase = ''
19− ensureDir $out/bin
20+ mkdir -p $out/bin
2021 cp qtox $out/bin
2122 '';
2223
2324 meta = with stdenv.lib; {
2425 description = "QT Tox client";
2526 license = licenses.gpl3;
26− maintainers = with stdenv.lib.maintainers; [ viric ];
27− platforms = stdenv.lib.platforms.all;
27+ maintainers = with maintainers; [ viric jgeerds ];
28+ platforms = platforms.all;
2829 };
2930}
pkgs/applications/networking/instant-messengers/toxic/default.nix+13−13
@@ -1,17 +1,17 @@
1−{ stdenv, fetchurl, autoconf, libtool, automake, libsodium, ncurses
1+{ stdenv, fetchFromGitHub, autoconf, libtool, automake, libsodium, ncurses
22, libtoxcore, openal, libvpx, freealut, libconfig, pkgconfig }:
33
4−let
5− version = "0.5.1";
6−in stdenv.mkDerivation rec {
7− name = "toxic-${version}";
4+stdenv.mkDerivation rec {
5+ name = "toxic-dev-20141130";
86
9− src = fetchurl {
10− url = "https://github.com/Tox/toxic/archive/v${version}.tar.gz";
11− sha256 = "0zzfgwm17a4xcy9l0ll2pksp45mz6f4s3isdrgjpw1xibv9xnzcm";
7+ src = fetchFromGitHub {
8+ owner = "Tox";
9+ repo = "toxic";
10+ rev = "4acfe84171";
11+ sha256 = "1yqglh9fm75zph4fzf3z4gwmamngypwpvb7shpqgakdg8ybq0a8s";
1212 };
1313
14− makeFlags = [ "-Cbuild" "VERSION=${version}" "PREFIX=$(out)" ];
14+ makeFlags = [ "-Cbuild" "PREFIX=$(out)" ];
1515 installFlags = [ "PREFIX=$(out)" ];
1616
1717 buildInputs = [
@@ -21,10 +21,10 @@ in stdenv.mkDerivation rec {
2121 openal libvpx freealut
2222 ];
2323
24− meta = {
24+ meta = with stdenv.lib; {
2525 description = "Reference CLI for Tox";
26− license = stdenv.lib.licenses.gpl3Plus;
27− maintainers = with stdenv.lib.maintainers; [ viric ];
28− platforms = stdenv.lib.platforms.all;
26+ license = licenses.gpl3Plus;
27+ maintainers = with maintainers; [ viric jgeerds ];
28+ platforms = platforms.all;
2929 };
3030}
pkgs/applications/networking/instant-messengers/utox/default.nix+5−5
@@ -3,13 +3,13 @@
33
44
55stdenv.mkDerivation rec {
6− name = "utox-dev-20140921";
6+ name = "utox-dev-20141130";
77
88 src = fetchFromGitHub {
99 owner = "notsecure";
1010 repo = "uTox";
11− rev = "c0afc95cf3";
12− sha256 = "0a6i0c9crj6b27alm8q0fcfj8q425khg5305sp57r7pj505l4d1f";
11+ rev = "38b0a2014f";
12+ sha256 = "00g9fsp83yjq6dfim3hfpag0ny9w5kydghycfj3ic8qaljp47y8a";
1313 };
1414
1515 buildInputs = [ pkgconfig libtoxcore dbus libvpx libX11 openal freetype
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 meta = with stdenv.lib; {
2323 description = "Lightweight Tox client";
2424 license = licenses.gpl3;
25− maintainers = with stdenv.lib.maintainers; [ iElectric ];
26− platforms = stdenv.lib.platforms.all;
25+ maintainers = with maintainers; [ iElectric jgeerds ];
26+ platforms = platforms.all;
2727 };
2828}
pkgs/development/libraries/libtoxcore/default.nix+7−7
@@ -2,8 +2,8 @@
22, libvpx, check, libconfig, pkgconfig }:
33
44let
5− version = "900d72f951";
6− date = "20140921";
5+ version = "f6b3e6e8fe98d2457827ac6da944e715f008a08a";
6+ date = "20141203";
77in
88stdenv.mkDerivation rec {
99 name = "tox-core-${date}-${version}";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 src = fetchurl {
1212 url = "https://github.com/irungentoo/toxcore/tarball/${version}";
1313 name = "${name}.tar.gz";
14− sha256 = "1fwgflizb21mp4jwkfac7mgmahlly1f3ldbma6h8h6a2qf3pkn2r";
14+ sha256 = "1zsx7saqs25vva3pp0bw31yqzrn40fx84w42ig6fiv723k9gpdzy";
1515 };
1616
1717 NIX_LDFLAGS = "-lgcc_s";
@@ -47,10 +47,10 @@ stdenv.mkDerivation rec {
4747 # Some tests fail in the Sheevaplug due to timeout
4848 doCheck = !stdenv.isArm;
4949
50− meta = {
50+ meta = with stdenv.lib; {
5151 description = "P2P FOSS instant messaging application aimed to replace Skype with crypto";
52− license = stdenv.lib.licenses.gpl3Plus;
53− maintainers = with stdenv.lib.maintainers; [ viric ];
54− platforms = stdenv.lib.platforms.all;
52+ license = licenses.gpl3Plus;
53+ maintainers = with maintainers; [ viric jgeerds ];
54+ platforms = platforms.all;
5555 };
5656}