10 , gobject-introspection
15 buildPythonPackage rec {
21 outputs = [ "out" "dev" ];
24 url = "${meta.homepage}/src/gst-python/${pname}-${version}.tar.xz";
25 sha256 = "0ifx2s2j24sj2w5jm7cxyg1kinnhbxiz4x0qp3gnsjlwbawfigvn";
28 # Python 2.x is not supported.
40 propagatedBuildInputs = [
46 "-Dpygi-overrides-dir=${placeholder "out"}/${python3.sitePackages}/gi/overrides"
51 # TODO: Meson setup hook does not like buildPythonPackage
52 # https://github.com/NixOS/nixpkgs/issues/47390
53 installCheckPhase = "meson test --print-errorlogs";
56 homepage = "https://gstreamer.freedesktop.org";
57 description = "Python bindings for GStreamer";
58 license = licenses.lgpl2Plus;