summary refs log tree commit diff
path: root/pkgs/applications/misc/yate
diff options
context:
space:
mode:
authorPascal Wittmann <mail@pascal-wittmann.de>2015-04-15 10:54:12 +0200
committerPascal Wittmann <mail@pascal-wittmann.de>2015-04-15 10:54:49 +0200
commit94d177fc5ec7e73e8af947d2a14d4ff08d675a58 (patch)
tree93c77e819c88777b516962f2d5aa3fe439ed35d3 /pkgs/applications/misc/yate
parent3fa9fe1dd1f57d0178292133ec794e0108893ceb (diff)
downloadnixlib-94d177fc5ec7e73e8af947d2a14d4ff08d675a58.tar
nixlib-94d177fc5ec7e73e8af947d2a14d4ff08d675a58.tar.gz
nixlib-94d177fc5ec7e73e8af947d2a14d4ff08d675a58.tar.bz2
nixlib-94d177fc5ec7e73e8af947d2a14d4ff08d675a58.tar.lz
nixlib-94d177fc5ec7e73e8af947d2a14d4ff08d675a58.tar.xz
nixlib-94d177fc5ec7e73e8af947d2a14d4ff08d675a58.tar.zst
nixlib-94d177fc5ec7e73e8af947d2a14d4ff08d675a58.zip
yate: update from 2.2.0 to 5.4.2
Diffstat (limited to 'pkgs/applications/misc/yate')
-rw-r--r--pkgs/applications/misc/yate/default.nix25
1 files changed, 13 insertions, 12 deletions
diff --git a/pkgs/applications/misc/yate/default.nix b/pkgs/applications/misc/yate/default.nix
index e65faeac6c2a..dd3903cde271 100644
--- a/pkgs/applications/misc/yate/default.nix
+++ b/pkgs/applications/misc/yate/default.nix
@@ -1,13 +1,12 @@
-{ composableDerivation, fetchurl, lib, qt4, openssl, autoconf, automake, pkgconfig }:
+{ stdenv, fetchurl, lib, qt4, openssl, autoconf, automake, pkgconfig }:
 
-let inherit (composableDerivation) edf wwf; in
-
-composableDerivation.composableDerivation {} ( fixed : {
-  name = "yate-2.2.0_1";
+stdenv.mkDerivation rec {
+  name = "yate-${version}";
+  version = "5.4.2-1";
 
   src = fetchurl {
-    url = http://yate.null.ro/tarballs/yate2/yate2.tar.gz;
-    sha256 = "1z1rvzcw6449cvczig1dkh6rlp6f8zv649sk0ldz38mwkyd07257";
+    url = "http://voip.null.ro/tarballs/yate5/${name}.tar.gz";
+    sha256 = "08gwz0gipc5v75jv46p2yg8hg31xjp6x7jssd0rrgsa3szi5697n";
   };
 
   # TODO zaptel ? postgres ?
@@ -17,7 +16,7 @@ composableDerivation.composableDerivation {} ( fixed : {
   preConfigure =
     ''
       sed -i 's@,/dev/null@@' configure
-    ''; 
+    '';
 
   # --unresolved-symbols=ignore-in-shared-libs makes ld no longer find --library=yate? Why?
   preBuild =
@@ -28,12 +27,14 @@ composableDerivation.composableDerivation {} ( fixed : {
         -e 's@-Wl,--retain-symbols-file@@'
     '';
 
-  meta = { 
-    description = "YATE - Yet Another Telephony Engine";
+  meta = {
+    description = "Yet another telephony engine";
     homepage = http://yate.null.ro/;
-    license = ["GPL" "MPL"]; # Yate's license is GPL with an exception for linking with OpenH323 and PWlib (licensed under MPL).
+    # Yate's license is GPL with an exception for linking with
+    # OpenH323 and PWlib (licensed under MPL).
+    license = ["GPL" "MPL"];
     maintainers = [ lib.maintainers.marcweber ];
     platforms = lib.platforms.linux;
   };
 
-} )
+}