mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 00:54:46 +00:00
be2dfd1b72
I think it fixes the security threats exposed in: http://blog.azimuthsecurity.com/2013/06/attacking-crypto-phones-weaknesses-in.html
28 lines
755 B
Nix
28 lines
755 B
Nix
{ stdenv, fetchurl, cmake, openssl, pkgconfig, ccrtp }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libzrtpcpp-2.3.4";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/ccrtp/${name}.tar.gz";
|
|
sha256 = "020hfyrh8qdwkqdg1r1n65wdzj5i01ba9dzjghbm9lbz93gd9r83";
|
|
};
|
|
|
|
# We disallow 'lib64', or pkgconfig will not find it.
|
|
prePatch = ''
|
|
sed -i s/lib64/lib/ CMakeLists.txt
|
|
'';
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
propagatedBuildInputs = [ openssl ccrtp ];
|
|
|
|
meta = {
|
|
description = "GNU RTP stack for the zrtp protocol developed by Phil Zimmermann";
|
|
homepage = "http://www.gnutelephony.org/index.php/GNU_ZRTP";
|
|
license = "GPLv2";
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|