nixpkgs/pkgs/development/libraries/farstream/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

64 lines
1.3 KiB
Nix
Raw Normal View History

{ lib, stdenv
2019-12-14 01:41:39 +00:00
, fetchurl
, fetchpatch
2019-12-14 01:41:39 +00:00
, libnice
, pkg-config
, autoreconfHook
2019-12-14 01:41:39 +00:00
, gstreamer
, gst-plugins-base
, gupnp-igd
, gobject-introspection
, gst-plugins-good
, gst-plugins-bad
, gst-libav
, python3
2012-09-23 17:39:26 +00:00
}:
stdenv.mkDerivation rec {
2021-06-20 14:15:21 +00:00
pname = "farstream";
version = "0.2.9";
2018-03-15 12:27:02 +00:00
outputs = [ "out" "dev" ];
src = fetchurl {
2021-06-20 14:15:21 +00:00
url = "https://www.freedesktop.org/software/farstream/releases/farstream/${pname}-${version}.tar.gz";
sha256 = "0yzlh9jf47a3ir40447s7hlwp98f9yr8z4gcm0vjwz6g6cj12zfb";
};
patches = [
# Fix build with newer gnumake.
(fetchpatch {
url = "https://gitlab.freedesktop.org/farstream/farstream/-/commit/54987d44.diff";
sha256 = "02pka68p2j1wg7768rq7afa5wl9xv82wp86q7izrmwwnxdmz4zyg";
})
];
2019-12-14 01:41:39 +00:00
buildInputs = [
libnice
gupnp-igd
libnice
];
2019-12-14 01:41:39 +00:00
nativeBuildInputs = [
pkg-config
autoreconfHook
2019-12-14 01:41:39 +00:00
gobject-introspection
python3
2019-12-14 01:41:39 +00:00
];
2018-03-15 12:27:02 +00:00
propagatedBuildInputs = [
2019-12-14 01:41:39 +00:00
gstreamer
gst-plugins-base
gst-plugins-good
gst-plugins-bad
gst-libav
2018-03-15 12:27:02 +00:00
];
meta = with lib; {
2019-12-14 01:41:39 +00:00
homepage = "https://www.freedesktop.org/wiki/Software/Farstream";
description = "Audio/Video Communications Framework formely known as farsight";
2022-11-16 00:23:41 +00:00
platforms = platforms.unix;
2018-10-08 20:38:48 +00:00
license = licenses.lgpl21;
};
}