2014-02-02 16:07:03 +01:00
|
|
|
{ fetchurl, stdenv, pkgconfig, python, gstreamer
|
|
|
|
, gst-plugins-base, pygtk, pygobject3
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-03-17 15:09:51 +01:00
|
|
|
name = "gst-python-1.2.0";
|
2014-02-02 16:07:03 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
urls = [
|
|
|
|
"${meta.homepage}/src/gst-python/${name}.tar.bz2"
|
|
|
|
"mirror://gentoo/distfiles/${name}.tar.bz2"
|
|
|
|
];
|
2014-03-17 15:09:51 +01:00
|
|
|
sha256 = "09c6yls8ipbmwimdjr7xi3hvf2xa1xn1pv07855r7wfyzas1xbl1";
|
2014-02-02 16:07:03 +01:00
|
|
|
};
|
|
|
|
|
2014-03-22 15:19:44 +01:00
|
|
|
patches = [ ./different-path-with-pygobject.patch ];
|
|
|
|
|
2014-02-02 16:07:03 +01:00
|
|
|
buildInputs =
|
|
|
|
[ pkgconfig gst-plugins-base pygtk pygobject3 ]
|
|
|
|
;
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export configureFlags="$configureFlags --with-pygi-overrides-dir=$out/lib/${python.libPrefix}/site-packages/gi/overrides"
|
|
|
|
'';
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ gstreamer python ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://gstreamer.freedesktop.org;
|
|
|
|
|
|
|
|
description = "Python bindings for GStreamer";
|
|
|
|
|
|
|
|
license = "LGPLv2+";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|