2013-06-26 21:47:09 +00:00
|
|
|
{ stdenv, fetchurl, cmake, openssl, pkgconfig, ccrtp }:
|
2009-10-28 14:06:56 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-07-06 12:33:32 +00:00
|
|
|
name = "libzrtpcpp-2.3.4";
|
2009-09-20 17:01:19 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-10-28 14:06:56 +00:00
|
|
|
url = "mirror://gnu/ccrtp/${name}.tar.gz";
|
2013-07-06 12:33:32 +00:00
|
|
|
sha256 = "020hfyrh8qdwkqdg1r1n65wdzj5i01ba9dzjghbm9lbz93gd9r83";
|
2009-09-20 17:01:19 +00:00
|
|
|
};
|
|
|
|
|
2013-06-26 21:47:09 +00:00
|
|
|
# We disallow 'lib64', or pkgconfig will not find it.
|
|
|
|
prePatch = ''
|
|
|
|
sed -i s/lib64/lib/ CMakeLists.txt
|
|
|
|
'';
|
|
|
|
|
2013-06-29 14:50:56 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2015-04-06 22:05:52 +00:00
|
|
|
buildInputs = [ openssl ccrtp ];
|
2009-09-20 17:01:19 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "GNU RTP stack for the zrtp protocol developed by Phil Zimmermann";
|
|
|
|
homepage = "http://www.gnutelephony.org/index.php/GNU_ZRTP";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-07-28 11:55:54 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-09-20 17:01:19 +00:00
|
|
|
};
|
|
|
|
}
|