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