2013-06-26 23:47:09 +02:00
|
|
|
{ stdenv, fetchurl, cmake, openssl, pkgconfig, ccrtp }:
|
2009-10-28 15:06:56 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-05-30 23:50:01 +02:00
|
|
|
name = "libzrtpcpp-2.0.0";
|
2009-09-20 19:01:19 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-10-28 15:06:56 +01:00
|
|
|
url = "mirror://gnu/ccrtp/${name}.tar.gz";
|
2011-05-30 23:50:01 +02:00
|
|
|
sha256 = "05yw8n5xpj0jxkvzgsvn3xkxirpypc1japy9k1jqs9301fgb1a3i";
|
2009-09-20 19:01:19 +02:00
|
|
|
};
|
|
|
|
|
2013-06-26 23:47:09 +02:00
|
|
|
# We disallow 'lib64', or pkgconfig will not find it.
|
|
|
|
prePatch = ''
|
|
|
|
sed -i s/lib64/lib/ CMakeLists.txt
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ cmake openssl pkgconfig ccrtp ];
|
2009-09-20 19:01:19 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "GNU RTP stack for the zrtp protocol developed by Phil Zimmermann";
|
|
|
|
homepage = "http://www.gnutelephony.org/index.php/GNU_ZRTP";
|
|
|
|
license = "GPLv2";
|
2010-07-28 13:55:54 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-09-20 19:01:19 +02:00
|
|
|
};
|
|
|
|
}
|