1{ stdenv, fetchurl, pkgconfig, glib, gupnp_igd, gst_all_1 }:
2
3stdenv.mkDerivation rec {
4 name = "libnice-0.1.13";
5
6 src = fetchurl {
7 url = "http://nice.freedesktop.org/releases/${name}.tar.gz";
8 sha256 = "1q8rhklbz1zla67r4mw0f7v3m5b32maj0prnr0kshcz97fgjs4b1";
9 };
10
11 nativeBuildInputs = [ pkgconfig ];
12 buildInputs = [ gst_all_1.gstreamer gst_all_1.gst-plugins-base ];
13 propagatedBuildInputs = [ glib gupnp_igd ];
14
15 meta = {
16 homepage = http://nice.freedesktop.org/wiki/;
17 description = "The GLib ICE implementation";
18 longDescription = ''
19 Libnice is an implementation of the IETF's Interactice Connectivity
20 Establishment (ICE) standard (RFC 5245) and the Session Traversal
21 Utilities for NAT (STUN) standard (RFC 5389).
22
23 It provides a GLib-based library, libnice and a Glib-free library,
24 libstun as well as GStreamer elements.'';
25 };
26}