gst-python -> pythonPackages.gst-python

宋文武 38812685 60d1c0cf

Changed files
+12 -8
pkgs
development
libraries
gstreamer
top-level
-2
pkgs/development/libraries/gstreamer/default.nix
···
gst-libav = callPackage ./libav { inherit gst-plugins-base; };
-
gst-python = callPackage ./python { inherit gst-plugins-base gstreamer; };
-
gnonlin = callPackage ./gnonlin { inherit gst-plugins-base; };
gst-editing-services = callPackage ./ges { inherit gnonlin; };
+8 -6
pkgs/development/libraries/gstreamer/python/default.nix
···
-
{ fetchurl, stdenv, pkgconfig, python, gstreamer
-
, gst-plugins-base, pygtk, pygobject3
+
{ fetchurl, stdenv, pkgconfig, python
+
, gst-plugins-base, pygobject3
+
, ncurses
}:
stdenv.mkDerivation rec {
···
patches = [ ./different-path-with-pygobject.patch ];
-
buildInputs =
-
[ pkgconfig gst-plugins-base pygtk pygobject3 ]
-
;
+
nativeBuildInputs = [ pkgconfig python ];
+
+
# XXX: in the Libs.private field of python3.pc
+
buildInputs = [ ncurses ];
preConfigure = ''
export configureFlags="$configureFlags --with-pygi-overrides-dir=$out/lib/${python.libPrefix}/site-packages/gi/overrides"
'';
-
propagatedBuildInputs = [ gstreamer python ];
+
propagatedBuildInputs = [ gst-plugins-base pygobject3 ];
meta = {
homepage = http://gstreamer.freedesktop.org;
+4
pkgs/top-level/python-packages.nix
···
propagatedBuildInputs = with self; [ gdata ];
};
+
gst-python = callPackage ../development/libraries/gstreamer/python {
+
gst-plugins-base = pkgs.gst_all_1.gst-plugins-base;
+
};
+
gtimelog = buildPythonPackage rec {
name = "gtimelog-${version}";
version = "0.9.1";