2018-02-25 02:23:58 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, gupnp-igd, gst_all_1, gnutls }:
|
2009-12-27 14:22:00 +00:00
|
|
|
|
2012-03-13 19:06:24 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2017-06-20 05:12:32 +00:00
|
|
|
name = "libnice-0.1.14";
|
2013-02-23 21:20:42 +00:00
|
|
|
|
2009-12-27 14:22:00 +00:00
|
|
|
src = fetchurl {
|
2018-06-28 18:43:35 +00:00
|
|
|
url = "https://nice.freedesktop.org/releases/${name}.tar.gz";
|
2017-06-20 05:12:32 +00:00
|
|
|
sha256 = "17404z0fr6z3k7s2pkyyh9xp5gv7yylgyxx01mpl7424bnlhn4my";
|
2009-12-27 14:22:00 +00:00
|
|
|
};
|
|
|
|
|
2015-08-03 21:05:37 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2017-06-20 05:12:32 +00:00
|
|
|
buildInputs = [ gst_all_1.gstreamer gst_all_1.gst-plugins-base gnutls ];
|
2018-02-25 02:23:58 +00:00
|
|
|
propagatedBuildInputs = [ glib gupnp-igd ];
|
2009-12-27 14:22:00 +00:00
|
|
|
|
2018-07-17 23:10:30 +00:00
|
|
|
doCheck = false; # fails with "fatal error: nice/agent.h: No such file or directory"
|
|
|
|
|
2018-10-18 19:15:37 +00:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-02 21:50:51 +00:00
|
|
|
homepage = https://nice.freedesktop.org/wiki/;
|
2010-09-15 12:57:49 +00:00
|
|
|
description = "The GLib ICE implementation";
|
|
|
|
longDescription = ''
|
|
|
|
Libnice is an implementation of the IETF's Interactice Connectivity
|
|
|
|
Establishment (ICE) standard (RFC 5245) and the Session Traversal
|
|
|
|
Utilities for NAT (STUN) standard (RFC 5389).
|
|
|
|
|
|
|
|
It provides a GLib-based library, libnice and a Glib-free library,
|
|
|
|
libstun as well as GStreamer elements.'';
|
2018-10-18 19:15:37 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = with licenses; [ lgpl21 mpl11 ];
|
2009-12-27 14:22:00 +00:00
|
|
|
};
|
|
|
|
}
|