nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchurl, libnice, pkgconfig, pythonPackages, gstreamer, gst-plugins-base
2, gst-python, gupnp-igd, gobject-introspection
3, gst-plugins-good, gst-plugins-bad, gst-libav
4}:
5
6let
7 inherit (pythonPackages) python pygobject2;
8in stdenv.mkDerivation rec {
9 name = "farstream-0.2.8";
10
11 outputs = [ "out" "dev" ];
12
13 src = fetchurl {
14 url = "https://www.freedesktop.org/software/farstream/releases/farstream/${name}.tar.gz";
15 sha256 = "0249ncd20x5mf884fd8bw75c3118b9fdml837v4fib349xmrqfrb";
16 };
17
18 buildInputs = [ libnice python pygobject2 gupnp-igd libnice ];
19
20 nativeBuildInputs = [ pkgconfig gobject-introspection ];
21
22 propagatedBuildInputs = [
23 gstreamer gst-plugins-base gst-python
24 gst-plugins-good gst-plugins-bad gst-libav
25 ];
26
27 meta = with stdenv.lib; {
28 homepage = https://www.freedesktop.org/wiki/Software/Farstream;
29 description = "Audio/Video Communications Framework formely known as farsight";
30 platforms = platforms.linux;
31 license = licenses.lgpl21;
32 };
33}