diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/farstream/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/farstream/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/farstream/default.nix b/nixpkgs/pkgs/development/libraries/farstream/default.nix new file mode 100644 index 000000000000..e884bb41e20e --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/farstream/default.nix @@ -0,0 +1,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; + }; +} |