2014-02-02 16:07:03 +01:00
|
|
|
{ fetchurl, stdenv, pkgconfig, python, gstreamer
|
|
|
|
, gst-plugins-base, pygtk, pygobject3
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-10-21 20:28:37 +02:00
|
|
|
name = "gst-python-1.4.0";
|
2014-02-02 16:07:03 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
urls = [
|
2014-10-21 20:28:37 +02:00
|
|
|
"${meta.homepage}/src/gst-python/${name}.tar.xz"
|
|
|
|
"mirror://gentoo/distfiles/${name}.tar.xz"
|
2014-02-02 16:07:03 +01:00
|
|
|
];
|
2014-10-21 20:28:37 +02:00
|
|
|
sha256 = "0gixsp46mv7fvhk669q60wfk9w2lc02sdb1qipq066xlrqlhrr5i";
|
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 ];
|
2014-08-12 22:18:25 +02:00
|
|
|
|
2014-02-02 16:07:03 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://gstreamer.freedesktop.org;
|
|
|
|
|
|
|
|
description = "Python bindings for GStreamer";
|
|
|
|
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2014-02-02 16:07:03 +01:00
|
|
|
};
|
|
|
|
}
|