nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 64 lines 1.3 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 fetchpatch, 6 buildPackages, 7 libnice, 8 pkg-config, 9 gst_all_1, 10 gupnp-igd, 11 gobject-introspection, 12 python3, 13}: 14 15stdenv.mkDerivation rec { 16 pname = "farstream"; 17 version = "0.2.9"; 18 19 outputs = [ 20 "out" 21 "dev" 22 ]; 23 24 src = fetchurl { 25 url = "https://www.freedesktop.org/software/farstream/releases/farstream/${pname}-${version}.tar.gz"; 26 sha256 = "0yzlh9jf47a3ir40447s7hlwp98f9yr8z4gcm0vjwz6g6cj12zfb"; 27 }; 28 29 patches = [ 30 # Fix build with newer gnumake. 31 (fetchpatch { 32 url = "https://gitlab.freedesktop.org/farstream/farstream/-/commit/54987d44.diff"; 33 sha256 = "02pka68p2j1wg7768rq7afa5wl9xv82wp86q7izrmwwnxdmz4zyg"; 34 }) 35 ]; 36 37 buildInputs = [ 38 libnice 39 gupnp-igd 40 libnice 41 ]; 42 43 nativeBuildInputs = [ 44 pkg-config 45 buildPackages.autoreconfHook269 46 gobject-introspection 47 python3 48 ]; 49 50 propagatedBuildInputs = with gst_all_1; [ 51 gstreamer 52 gst-plugins-base 53 gst-plugins-good 54 gst-plugins-bad 55 gst-libav 56 ]; 57 58 meta = { 59 homepage = "https://www.freedesktop.org/wiki/Software/Farstream"; 60 description = "Audio/Video Communications Framework formely known as farsight"; 61 platforms = lib.platforms.unix; 62 license = lib.licenses.lgpl21; 63 }; 64}