farstream: remove python2 dependency

It was never used in the recent history.
This commit is contained in:
Jan Tojnar 2019-12-14 02:47:16 +01:00
parent 1094113464
commit 9c18e1fbe7
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 12 additions and 9 deletions

View File

@ -1,11 +1,11 @@
{ stdenv
, fetchurl
, fetchpatch
, libnice
, pkgconfig
, pythonPackages
, autoreconfHook
, gstreamer
, gst-plugins-base
, gst-python
, gupnp-igd
, gobject-introspection
, gst-plugins-good
@ -13,9 +13,7 @@
, gst-libav
}:
let
inherit (pythonPackages) python pygobject2;
in stdenv.mkDerivation rec {
stdenv.mkDerivation rec {
name = "farstream-0.2.8";
outputs = [ "out" "dev" ];
@ -25,23 +23,29 @@ in stdenv.mkDerivation rec {
sha256 = "0249ncd20x5mf884fd8bw75c3118b9fdml837v4fib349xmrqfrb";
};
patches = [
# Python has not been used for ages
(fetchpatch {
url = "https://gitlab.freedesktop.org/farstream/farstream/commit/73891c28fa27d5e65a71762e826f13747d743588.patch";
sha256 = "19pw1m8xhxyf5yhl6k898w240ra2k0m28gfv858x70c4wl786lrn";
})
];
buildInputs = [
libnice
python
pygobject2
gupnp-igd
libnice
];
nativeBuildInputs = [
pkgconfig
autoreconfHook
gobject-introspection
];
propagatedBuildInputs = [
gstreamer
gst-plugins-base
gst-python
gst-plugins-good
gst-plugins-bad
gst-libav

View File

@ -11133,7 +11133,6 @@ in
inherit (gst_all_1)
gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad
gst-libav;
inherit (pythonPackages) gst-python;
};
fcgi = callPackage ../development/libraries/fcgi { };