3
0
Fork 0
forked from mirrors/nixpkgs

yate: update from 2.2.0 to 5.4.2

This commit is contained in:
Pascal Wittmann 2015-04-15 10:54:12 +02:00
parent 3fa9fe1dd1
commit 94d177fc5e

View file

@ -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;
};
} )
}