10 , gobject-introspection
15 buildPythonPackage rec {
21 outputs = [ "out" "dev" ];
24 url = "${meta.homepage}/src/gst-python/${pname}-${version}.tar.xz";
25 sha256 = "j2e9xWBrozYGxryJbonefc2M9PykWfcTibG2/gdbXlQ=";
28 # Python 2.x is not supported.
40 gst_all_1.gst-plugins-base
43 propagatedBuildInputs = [
44 gst_all_1.gst-plugins-base
49 "-Dpygi-overrides-dir=${placeholder "out"}/${python.sitePackages}/gi/overrides"
50 # Exec format error during configure
51 "-Dpython=${python.pythonForBuild.interpreter}"
56 # TODO: Meson setup hook does not like buildPythonPackage
57 # https://github.com/NixOS/nixpkgs/issues/47390
58 installCheckPhase = "meson test --print-errorlogs";
61 homepage = "https://gstreamer.freedesktop.org";
62 description = "Python bindings for GStreamer";
63 license = licenses.lgpl2Plus;