summary refs log tree commit diff
path: root/pkgs/development/libraries/farstream/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/farstream/default.nix')
-rw-r--r--pkgs/development/libraries/farstream/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/libraries/farstream/default.nix b/pkgs/development/libraries/farstream/default.nix
index 27bff62bd6563..68396dabb96f9 100644
--- a/pkgs/development/libraries/farstream/default.nix
+++ b/pkgs/development/libraries/farstream/default.nix
@@ -1,9 +1,11 @@
-{ stdenv, fetchurl, libnice, pkgconfig, python, gstreamer, gst-plugins-base
-, pygobject2, gst-python, gupnp_igd
+{ stdenv, fetchurl, libnice, pkgconfig, pythonPackages, gstreamer, gst-plugins-base
+, gst-python, gupnp_igd
 , gst-plugins-good, gst-plugins-bad, gst-libav
 }:
 
-stdenv.mkDerivation rec {
+let
+  inherit (pythonPackages) python pygobject2;
+in stdenv.mkDerivation rec {
   name = "farstream-0.2.4";
   src = fetchurl {
     url = "http://www.freedesktop.org/software/farstream/releases/farstream/${name}.tar.gz";