10 , gobject-introspection
15 buildPythonPackage rec {
21 outputs = [ "out" "dev" ];
24 url = "${meta.homepage}/src/gst-python/${pname}-${version}.tar.xz";
25 hash = "sha256-Ud4tbROxLOCV6sl8C5TuWcKuujcSu3Rit4xNV93hdsU=";
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.pythonOnBuildForHost.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;
64 maintainers = with maintainers; [ lilyinstarlight ];