2017-02-26 12:25:29 -08:00
|
|
|
{ fetchurl, stdenv, pkgconfig, python2Packages, gstreamer, gst-plugins-base
|
2010-11-17 05:11:41 -08:00
|
|
|
}:
|
|
|
|
|
2016-09-25 14:13:03 -07:00
|
|
|
let
|
2016-10-18 01:04:34 -07:00
|
|
|
inherit (python2Packages) python pygobject2;
|
2016-09-25 14:13:03 -07:00
|
|
|
in stdenv.mkDerivation rec {
|
2013-12-18 06:56:04 -08:00
|
|
|
name = "gst-python-0.10.22";
|
2010-11-17 05:11:41 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
urls = [
|
|
|
|
"${meta.homepage}/src/gst-python/${name}.tar.bz2"
|
|
|
|
"mirror://gentoo/distfiles/${name}.tar.bz2"
|
|
|
|
];
|
2013-12-18 06:56:04 -08:00
|
|
|
sha256 = "0y1i4n5m1diljqr9dsq12anwazrhbs70jziich47gkdwllcza9lg";
|
2010-11-17 05:11:41 -08:00
|
|
|
};
|
|
|
|
|
2016-03-31 04:57:06 -07:00
|
|
|
hardeningDisable = [ "bindnow" ];
|
|
|
|
|
2014-10-29 11:07:43 -07: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 05:11:41 -08:00
|
|
|
buildInputs =
|
2017-02-26 12:25:29 -08:00
|
|
|
[ pkgconfig gst-plugins-base pygobject2 ]
|
2010-11-17 05:11:41 -08:00
|
|
|
;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ gstreamer python ];
|
2014-10-28 13:50:35 -07:00
|
|
|
|
2010-11-17 05:11:41 -08:00
|
|
|
meta = {
|
2017-09-16 12:28:31 -07:00
|
|
|
homepage = https://gstreamer.freedesktop.org;
|
2010-11-17 05:11:41 -08:00
|
|
|
|
|
|
|
description = "Python bindings for GStreamer";
|
|
|
|
|
2014-06-18 21:19:00 -07:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2010-11-17 05:11:41 -08:00
|
|
|
};
|
|
|
|
}
|