about summary refs log tree commit diff
path: root/pkgs/applications/misc/yate
diff options
context:
space:
mode:
authorR. RyanTM <ryantm-bot@ryantm.com>2022-02-20 08:15:01 -0800
committerGitHub <noreply@github.com>2022-02-20 17:15:01 +0100
commit76007afe26b20830bb307ebdf70444ce98023024 (patch)
treeafec4240e34cde914c71454b1a11c6bc71f3090e /pkgs/applications/misc/yate
parentd0ae0897999e7ba4615e02ca1770df6065099daf (diff)
yate: 6.1.0-1 -> 6.4.0-1
* yate: 6.1.0-1 -> 6.4.0-1 (#143292)

* yate: use license identifier from lib
and make it explicit that parallel building is not desirable

Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
Diffstat (limited to 'pkgs/applications/misc/yate')
-rw-r--r--pkgs/applications/misc/yate/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/applications/misc/yate/default.nix b/pkgs/applications/misc/yate/default.nix
index 3046638ec4a6e..bffe67491c35b 100644
--- a/pkgs/applications/misc/yate/default.nix
+++ b/pkgs/applications/misc/yate/default.nix
@@ -2,11 +2,11 @@
 
 stdenv.mkDerivation rec {
   pname = "yate";
-  version = "6.1.0-1";
+  version = "6.4.0-1";
 
   src = fetchurl {
     url = "http://voip.null.ro/tarballs/yate${lib.versions.major version}/${pname}-${version}.tar.gz";
-    sha256 = "0xx3i997nsf2wzbv6m5n6adsym0qhgc6xg4rsv0fwqrgisf5327d";
+    hash = "sha256-jCPca/+/jUeNs6hZZLUBl3HI9sms9SIPNGVRanSKA7A=";
   };
 
   # TODO zaptel ? postgres ?
@@ -14,12 +14,14 @@ stdenv.mkDerivation rec {
   buildInputs = [ qt4 openssl ];
 
   # /dev/null is used when linking which is a impure path for the wrapper
-  preConfigure =
+  postPatch =
     ''
-      sed -i 's@,/dev/null@@' configure
       patchShebangs configure
+      substituteInPlace configure --replace ",/dev/null" ""
     '';
 
+  enableParallelBuilding = false; # fails to build if true
+
   # --unresolved-symbols=ignore-in-shared-libs makes ld no longer find --library=yate? Why?
   preBuild =
     ''
@@ -34,7 +36,7 @@ stdenv.mkDerivation rec {
     homepage = "http://yate.null.ro/";
     # Yate's license is GPL with an exception for linking with
     # OpenH323 and PWlib (licensed under MPL).
-    license = ["GPL" "MPL"];
+    license = lib.licenses.gpl2Only;
     maintainers = [ lib.maintainers.marcweber ];
     platforms = [ "i686-linux" "x86_64-linux" ];
   };