2010-11-17 14:11:41 +01:00
|
|
|
{ fetchurl, stdenv, pkgconfig, python, gstreamer
|
2014-10-28 21:50:35 +01:00
|
|
|
, gst_plugins_base, pygobject
|
2010-11-17 14:11:41 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-18 15:56:04 +01:00
|
|
|
name = "gst-python-0.10.22";
|
2010-11-17 14:11:41 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
urls = [
|
|
|
|
"${meta.homepage}/src/gst-python/${name}.tar.bz2"
|
|
|
|
"mirror://gentoo/distfiles/${name}.tar.bz2"
|
|
|
|
];
|
2013-12-18 15:56:04 +01:00
|
|
|
sha256 = "0y1i4n5m1diljqr9dsq12anwazrhbs70jziich47gkdwllcza9lg";
|
2010-11-17 14:11:41 +01:00
|
|
|
};
|
|
|
|
|
2014-10-29 19:07:43 +01:00
|
|
|
# Need to disable the testFake test case due to bug in pygobject.
|
|
|
|
# See https://bugzilla.gnome.org/show_bug.cgi?id=692479
|
|
|
|
patches = [ ./disable-testFake.patch ];
|
|
|
|
|
2010-11-17 14:11:41 +01:00
|
|
|
buildInputs =
|
2014-10-28 21:50:35 +01:00
|
|
|
[ pkgconfig gst_plugins_base pygobject ]
|
2010-11-17 14:11:41 +01:00
|
|
|
;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ gstreamer python ];
|
2014-10-28 21:50:35 +01:00
|
|
|
|
2010-11-17 14:11:41 +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;
|
2010-11-17 14:11:41 +01:00
|
|
|
};
|
|
|
|
}
|