about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/farstream/default.nix
blob: e884bb41e20e86ec3585892b41b46a71b2d9859f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ stdenv, fetchurl, libnice, pkgconfig, pythonPackages, gstreamer, gst-plugins-base
, gst-python, gupnp-igd, gobject-introspection
, gst-plugins-good, gst-plugins-bad, gst-libav
}:

let
  inherit (pythonPackages) python pygobject2;
in stdenv.mkDerivation rec {
  name = "farstream-0.2.8";

  outputs = [ "out" "dev" ];

  src = fetchurl {
    url = "https://www.freedesktop.org/software/farstream/releases/farstream/${name}.tar.gz";
    sha256 = "0249ncd20x5mf884fd8bw75c3118b9fdml837v4fib349xmrqfrb";
  };

  buildInputs = [ libnice python pygobject2 gupnp-igd libnice ];

  nativeBuildInputs = [ pkgconfig gobject-introspection ];

  propagatedBuildInputs = [
    gstreamer gst-plugins-base gst-python
    gst-plugins-good gst-plugins-bad gst-libav
  ];

  meta = with stdenv.lib; {
    homepage = https://www.freedesktop.org/wiki/Software/Farstream;
    description = "Audio/Video Communications Framework formely known as farsight";
    platforms = platforms.linux;
    license = licenses.lgpl21;
  };
}