about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/toxic
diff options
context:
space:
mode:
authorJascha Geerds <jg@ekby.de>2014-12-04 02:47:32 +0100
committerJascha Geerds <jg@ekby.de>2014-12-04 02:47:32 +0100
commit44dd2ed9ec7222c91d3b8233f1b98b8aa2f517b1 (patch)
treed5b9012032ba5916f70534f1da454a4ce3ab08a2 /pkgs/applications/networking/instant-messengers/toxic
parentc57a4c2f78e0fbd992de5df8f1beec3858817891 (diff)
toxic: Update to the newest dev version
This update is necessary due to API changes in libtoxcore. Sad to say that
the recent stable version doesn't work with our libtoxcore. We need to
update to the recent dev version.
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/toxic')
-rw-r--r--pkgs/applications/networking/instant-messengers/toxic/default.nix26
1 files changed, 13 insertions, 13 deletions
diff --git a/pkgs/applications/networking/instant-messengers/toxic/default.nix b/pkgs/applications/networking/instant-messengers/toxic/default.nix
index 39de30e5dce4c..5af31cdb21a95 100644
--- a/pkgs/applications/networking/instant-messengers/toxic/default.nix
+++ b/pkgs/applications/networking/instant-messengers/toxic/default.nix
@@ -1,17 +1,17 @@
-{ stdenv, fetchurl, autoconf, libtool, automake, libsodium, ncurses
+{ stdenv, fetchFromGitHub, autoconf, libtool, automake, libsodium, ncurses
 , libtoxcore, openal, libvpx, freealut, libconfig, pkgconfig }:
 
-let
-  version = "0.5.1";
-in stdenv.mkDerivation rec {
-  name = "toxic-${version}";
+stdenv.mkDerivation rec {
+  name = "toxic-dev-20141130";
 
-  src = fetchurl {
-    url = "https://github.com/Tox/toxic/archive/v${version}.tar.gz";
-    sha256 = "0zzfgwm17a4xcy9l0ll2pksp45mz6f4s3isdrgjpw1xibv9xnzcm";
+  src = fetchFromGitHub {
+    owner = "Tox";
+    repo = "toxic";
+    rev = "4acfe84171";
+    sha256 = "1yqglh9fm75zph4fzf3z4gwmamngypwpvb7shpqgakdg8ybq0a8s";
   };
 
-  makeFlags = [ "-Cbuild" "VERSION=${version}" "PREFIX=$(out)" ];
+  makeFlags = [ "-Cbuild" "PREFIX=$(out)" ];
   installFlags = [ "PREFIX=$(out)" ];
 
   buildInputs = [
@@ -21,10 +21,10 @@ in stdenv.mkDerivation rec {
     openal libvpx freealut
   ];
 
-  meta = {
+  meta = with stdenv.lib; {
     description = "Reference CLI for Tox";
-    license = stdenv.lib.licenses.gpl3Plus;
-    maintainers = with stdenv.lib.maintainers; [ viric ];
-    platforms = stdenv.lib.platforms.all;
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ viric jgeerds ];
+    platforms = platforms.all;
   };
 }