diff --git a/pkgs/development/libraries/ccrtp/1.8.nix b/pkgs/development/libraries/ccrtp/1.8.nix new file mode 100644 index 000000000000..26e7050a60df --- /dev/null +++ b/pkgs/development/libraries/ccrtp/1.8.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, openssl, pkgconfig, libgcrypt, commoncpp2 }: + +stdenv.mkDerivation { + name = "ccrtp-1.8.0"; + + src = fetchurl { + url = mirror://gnu/ccrtp/ccrtp-1.8.0.tar.gz; + sha256 = "0wr4dandlfajhmg90nqyvwv61ikn9vdycji001310y3c4zfysprn"; + }; + + buildInputs = [ openssl pkgconfig libgcrypt commoncpp2 ]; + + meta = { + description = "GNU ccRTP is an implementation of RTP, the real-time transport protocol from the IETF"; + homepage = "http://www.gnu.org/software/ccrtp/"; + license = "GPLv2"; + maintainers = [ stdenv.lib.maintainers.marcweber ]; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/development/libraries/libzrtpcpp/1.6.nix b/pkgs/development/libraries/libzrtpcpp/1.6.nix new file mode 100644 index 000000000000..767314cdcae9 --- /dev/null +++ b/pkgs/development/libraries/libzrtpcpp/1.6.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, commoncpp2, openssl, pkgconfig, ccrtp }: + +stdenv.mkDerivation rec { + name = "libzrtpcpp-1.6.0"; + + src = fetchurl { + url = "mirror://gnu/ccrtp/${name}.tar.gz"; + sha256 = "17aayr4f27rp4fvminxn6jx7kq56kkk341l7ypqb9h0k6kns27kb"; + }; + + buildInputs = [ commoncpp2 openssl pkgconfig 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 76af12f962e6..4df70acd39c0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2902,6 +2902,7 @@ let scmccid = callPackage ../development/libraries/scmccid { }; ccrtp = callPackage ../development/libraries/ccrtp { }; + ccrtp_1_8 = callPackage ../development/libraries/ccrtp/1.8.nix { }; cgui = callPackage ../development/libraries/cgui {}; @@ -3881,6 +3882,9 @@ let libzip = callPackage ../development/libraries/libzip { }; libzrtpcpp = callPackage ../development/libraries/libzrtpcpp { }; + libzrtpcpp_1_6 = callPackage ../development/libraries/libzrtpcpp/1.6.nix { + ccrtp = ccrtp_1_8; + }; lightning = callPackage ../development/libraries/lightning { }; @@ -6976,6 +6980,8 @@ let twinkle = callPackage ../applications/networking/twinkle { qt = qt3; boost = boostFull; + ccrtp = ccrtp_1_8; + libzrtpcpp = libzrtpcpp_1_6; }; unison = callPackage ../applications/networking/sync/unison {