at v192 867 B view raw
1{ fetchurl, stdenv, pkgconfig, python, gstreamer 2 , gst-plugins-base, pygtk, pygobject3 3}: 4 5stdenv.mkDerivation rec { 6 name = "gst-python-1.4.0"; 7 8 src = fetchurl { 9 urls = [ 10 "${meta.homepage}/src/gst-python/${name}.tar.xz" 11 "mirror://gentoo/distfiles/${name}.tar.xz" 12 ]; 13 sha256 = "0gixsp46mv7fvhk669q60wfk9w2lc02sdb1qipq066xlrqlhrr5i"; 14 }; 15 16 patches = [ ./different-path-with-pygobject.patch ]; 17 18 buildInputs = 19 [ pkgconfig gst-plugins-base pygtk pygobject3 ] 20 ; 21 22 preConfigure = '' 23 export configureFlags="$configureFlags --with-pygi-overrides-dir=$out/lib/${python.libPrefix}/site-packages/gi/overrides" 24 ''; 25 26 propagatedBuildInputs = [ gstreamer python ]; 27 28 meta = { 29 homepage = http://gstreamer.freedesktop.org; 30 31 description = "Python bindings for GStreamer"; 32 33 license = stdenv.lib.licenses.lgpl2Plus; 34 }; 35}