@ -2,11 +2,11 @@
stdenv . mkDerivation rec {
pname = " y a t e " ;
version = " 6 . 1 . 0 - 1 " ;
version = " 6 . 4 . 0 - 1 " ;
src = fetchurl {
url = " h t t p : / / v o i p . n u l l . r o / t a r b a l l s / y a t e ${ lib . versions . major version } / ${ pname } - ${ version } . t a r . g z " ;
sha256 = " 0 x x 3 i 9 9 7 n s f 2 w z b v 6 m 5 n 6 a d s y m 0 q h g c 6 x g 4 r s v 0 f w q r g i s f 5 3 2 7 d " ;
hash = " s h a 2 5 6 - j C P c a / + / j U e N s 6 h Z Z L U B l 3 H I 9 s m s 9 S I P N G V R a n S K A 7 A = " ;
} ;
# 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 " , / d e v / n u l l " " "
'' ;
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 = " h t t p : / / y a t e . n u l l . r o / " ;
# Yate's license is GPL with an exception for linking with
# OpenH323 and PWlib (licensed under MPL).
license = [ " G P L " " M P L " ] ;
license = lib . licenses . gpl2Only ;
maintainers = [ lib . maintainers . marcweber ] ;
platforms = [ " i 6 8 6 - l i n u x " " x 8 6 _ 6 4 - l i n u x " ] ;
} ;