about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPeter Hoeg <peter@speartail.com>2017-02-14 14:59:30 +0800
committerPeter Hoeg <peter@speartail.com>2017-02-14 14:59:30 +0800
commita66e04d3bec08581efb3e21188eb7625e72eaeee (patch)
treeba5b60dd886ae6981aecc18ed056dcfe2b9350e4 /pkgs
parenteb52ef12c2a025d87e1c6a6e1500fc2e4fc39f60 (diff)
downloadnixlib-a66e04d3bec08581efb3e21188eb7625e72eaeee.tar
nixlib-a66e04d3bec08581efb3e21188eb7625e72eaeee.tar.gz
nixlib-a66e04d3bec08581efb3e21188eb7625e72eaeee.tar.bz2
nixlib-a66e04d3bec08581efb3e21188eb7625e72eaeee.tar.lz
nixlib-a66e04d3bec08581efb3e21188eb7625e72eaeee.tar.xz
nixlib-a66e04d3bec08581efb3e21188eb7625e72eaeee.tar.zst
nixlib-a66e04d3bec08581efb3e21188eb7625e72eaeee.zip
toxic: 20160728 -> 0.7.2
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/networking/instant-messengers/toxic/default.nix25
1 files changed, 13 insertions, 12 deletions
diff --git a/pkgs/applications/networking/instant-messengers/toxic/default.nix b/pkgs/applications/networking/instant-messengers/toxic/default.nix
index be72895b430a..fb7a13b3af9b 100644
--- a/pkgs/applications/networking/instant-messengers/toxic/default.nix
+++ b/pkgs/applications/networking/instant-messengers/toxic/default.nix
@@ -1,26 +1,27 @@
 { stdenv, fetchFromGitHub, libsodium, ncurses, curl
-, libtoxcore-dev, openal, libvpx, freealut, libconfig, pkgconfig
-, libqrencode }:
+, libtoxcore, openal, libvpx, freealut, libconfig, pkgconfig, libopus
+, libqrencode, gdk_pixbuf, libnotify }:
 
 stdenv.mkDerivation rec {
-  name = "toxic-dev-20160728";
+  name = "toxic-${version}";
+  version = "0.7.2";
 
   src = fetchFromGitHub {
-    owner = "Tox";
-    repo = "toxic";
-    rev = "cb21672600206423c844306a84f8b122e534c348";
-    sha256 = "1nq1xnbyjfrk8jrjvk5sli1bm3i9r8b4m8f4xgmiz68mx1r3fn5k";
+    owner  = "Tox";
+    repo   = "toxic";
+    rev    = "v${version}";
+    sha256 = "1kws6bx5va1wc0k6pqihrla91vicxk4zqghvxiylgfbjr1jnkvwc";
   };
 
-  makeFlags = [ "PREFIX=$(out)" ];
-  installFlags = [ "PREFIX=$(out)" ];
+  makeFlags = [ "PREFIX=$(out)"];
+  installFlags = [ "PREFIX=$(out)"];
 
-  nativeBuildInputs = [ pkgconfig libconfig ];
   buildInputs = [
-    libtoxcore-dev libsodium ncurses curl
+    libtoxcore libsodium ncurses curl gdk_pixbuf libnotify
   ] ++ stdenv.lib.optionals (!stdenv.isArm) [
-    openal libvpx freealut libqrencode
+    openal libopus libvpx freealut libqrencode
   ];
+  nativeBuildInputs = [ pkgconfig libconfig ];
 
   meta = with stdenv.lib; {
     description = "Reference CLI for Tox";