gst-python -> pythonPackages.gst-python

This commit is contained in:
宋文武 2015-09-18 20:24:19 +08:00
parent 60d1c0cfd1
commit 38812685ed
3 changed files with 12 additions and 8 deletions

View File

@ -13,8 +13,6 @@ rec {
gst-libav = callPackage ./libav { inherit gst-plugins-base; }; gst-libav = callPackage ./libav { inherit gst-plugins-base; };
gst-python = callPackage ./python { inherit gst-plugins-base gstreamer; };
gnonlin = callPackage ./gnonlin { inherit gst-plugins-base; }; gnonlin = callPackage ./gnonlin { inherit gst-plugins-base; };
gst-editing-services = callPackage ./ges { inherit gnonlin; }; gst-editing-services = callPackage ./ges { inherit gnonlin; };

View File

@ -1,5 +1,6 @@
{ fetchurl, stdenv, pkgconfig, python, gstreamer { fetchurl, stdenv, pkgconfig, python
, gst-plugins-base, pygtk, pygobject3 , gst-plugins-base, pygobject3
, ncurses
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -15,15 +16,16 @@ stdenv.mkDerivation rec {
patches = [ ./different-path-with-pygobject.patch ]; patches = [ ./different-path-with-pygobject.patch ];
buildInputs = nativeBuildInputs = [ pkgconfig python ];
[ pkgconfig gst-plugins-base pygtk pygobject3 ]
; # XXX: in the Libs.private field of python3.pc
buildInputs = [ ncurses ];
preConfigure = '' preConfigure = ''
export configureFlags="$configureFlags --with-pygi-overrides-dir=$out/lib/${python.libPrefix}/site-packages/gi/overrides" export configureFlags="$configureFlags --with-pygi-overrides-dir=$out/lib/${python.libPrefix}/site-packages/gi/overrides"
''; '';
propagatedBuildInputs = [ gstreamer python ]; propagatedBuildInputs = [ gst-plugins-base pygobject3 ];
meta = { meta = {
homepage = http://gstreamer.freedesktop.org; homepage = http://gstreamer.freedesktop.org;

View File

@ -3758,6 +3758,10 @@ let
propagatedBuildInputs = with self; [ gdata ]; propagatedBuildInputs = with self; [ gdata ];
}; };
gst-python = callPackage ../development/libraries/gstreamer/python {
gst-plugins-base = pkgs.gst_all_1.gst-plugins-base;
};
gtimelog = buildPythonPackage rec { gtimelog = buildPythonPackage rec {
name = "gtimelog-${version}"; name = "gtimelog-${version}";
version = "0.9.1"; version = "0.9.1";