36fd2baa6f
- built on NixOS - ran `/nix/store/prjhgn0ps0ywpjfpb64dy0j332dci2xd-yate-6.0.0-1/bin/yate -h` got 0 exit code - ran `/nix/store/prjhgn0ps0ywpjfpb64dy0j332dci2xd-yate-6.0.0-1/bin/yate --help` got 0 exit code - ran `/nix/store/prjhgn0ps0ywpjfpb64dy0j332dci2xd-yate-6.0.0-1/bin/yate -V` and found version 6.0.0 - ran `/nix/store/prjhgn0ps0ywpjfpb64dy0j332dci2xd-yate-6.0.0-1/bin/yate --version` and found version 6.0.0 - ran `/nix/store/prjhgn0ps0ywpjfpb64dy0j332dci2xd-yate-6.0.0-1/bin/yate -h` and found version 6.0.0 - ran `/nix/store/prjhgn0ps0ywpjfpb64dy0j332dci2xd-yate-6.0.0-1/bin/yate --help` and found version 6.0.0 - ran `/nix/store/prjhgn0ps0ywpjfpb64dy0j332dci2xd-yate-6.0.0-1/bin/yate-qt4 -h` got 0 exit code - ran `/nix/store/prjhgn0ps0ywpjfpb64dy0j332dci2xd-yate-6.0.0-1/bin/yate-qt4 --help` got 0 exit code - ran `/nix/store/prjhgn0ps0ywpjfpb64dy0j332dci2xd-yate-6.0.0-1/bin/yate-qt4 -V` and found version 6.0.0 - ran `/nix/store/prjhgn0ps0ywpjfpb64dy0j332dci2xd-yate-6.0.0-1/bin/yate-qt4 --version` and found version 6.0.0 - ran `/nix/store/prjhgn0ps0ywpjfpb64dy0j332dci2xd-yate-6.0.0-1/bin/yate-qt4 -h` and found version 6.0.0 - ran `/nix/store/prjhgn0ps0ywpjfpb64dy0j332dci2xd-yate-6.0.0-1/bin/yate-qt4 --help` and found version 6.0.0 - ran `/nix/store/prjhgn0ps0ywpjfpb64dy0j332dci2xd-yate-6.0.0-1/bin/yate-config --version` and found version 6.0.0 - found 6.0.0 with grep in /nix/store/prjhgn0ps0ywpjfpb64dy0j332dci2xd-yate-6.0.0-1 - found 6.0.0 in filename of file in /nix/store/prjhgn0ps0ywpjfpb64dy0j332dci2xd-yate-6.0.0-1 - directory tree listing: https://gist.github.com/b8b0469c23ed9c02dd5173ba822bdf57
43 lines
1.3 KiB
Nix
43 lines
1.3 KiB
Nix
{ stdenv, fetchurl, lib, qt4, openssl, autoconf, automake, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "yate-${version}";
|
|
version = "6.0.0-1";
|
|
|
|
src = fetchurl {
|
|
url = "http://voip.null.ro/tarballs/yate${lib.versions.major version}/${name}.tar.gz";
|
|
sha256 = "05qqdhi3rp5660gq1484jkmxkm9vq81j0yr765h0gf0xclan1dqa";
|
|
};
|
|
|
|
# TODO zaptel ? postgres ?
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ qt4 openssl autoconf automake ];
|
|
|
|
# /dev/null is used when linking which is a impure path for the wrapper
|
|
preConfigure =
|
|
''
|
|
sed -i 's@,/dev/null@@' configure
|
|
patchShebangs configure
|
|
'';
|
|
|
|
# --unresolved-symbols=ignore-in-shared-libs makes ld no longer find --library=yate? Why?
|
|
preBuild =
|
|
''
|
|
export NIX_LDFLAGS="-L$TMP/yate $NIX_LDFLAGS"
|
|
find . -type f -iname Makefile | xargs sed -i \
|
|
-e 's@-Wl,--unresolved-symbols=ignore-in-shared-libs@@' \
|
|
-e 's@-Wl,--retain-symbols-file@@'
|
|
'';
|
|
|
|
meta = {
|
|
description = "Yet another telephony engine";
|
|
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"];
|
|
maintainers = [ lib.maintainers.marcweber ];
|
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
|
};
|
|
|
|
}
|