diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2018-09-05 14:12:02 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2018-11-29 18:24:55 +0100 |
commit | ca11db894f2a8c91a950d9ec326c3977770b766c (patch) | |
tree | c3e2da8f93388df4071e7350676c50369284e5aa /pkgs/development/python-modules/gst-python | |
parent | 9bba7c1cba6f3de12d07310f745e0c1c22cf78c6 (diff) |
python2.pkgs.gst-python: fix build
Diffstat (limited to 'pkgs/development/python-modules/gst-python')
-rw-r--r-- | pkgs/development/python-modules/gst-python/default.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/gst-python/default.nix b/pkgs/development/python-modules/gst-python/default.nix index 8cbc08dbbfd04..96da9bcf4f677 100644 --- a/pkgs/development/python-modules/gst-python/default.nix +++ b/pkgs/development/python-modules/gst-python/default.nix @@ -28,6 +28,17 @@ in buildPythonPackage rec { url = https://bugzilla.gnome.org/attachment.cgi?id=371989; sha256 = "1k46nvw175c1wvkqnx783i9d4w9vn431spcl48jb3y224jj3va08"; }) + # Fixes `from gi.repository import Gst` when gst-python's site-package is in + # PYTHONPATH + (fetchurl { + url = https://gitlab.freedesktop.org/gstreamer/gst-python/commit/d64bbc1e0c3c948c148f505cc5f856ce56732880.diff; + sha256 = "1n9pxmcl1x491mp47avpcw2a6n71lm0haz6mfas168prkgsk8q3r"; + }) + # Fixes python2 build from the above changes + (fetchurl { + url = https://gitlab.freedesktop.org/gstreamer/gst-python/commit/f79ac2d1434d7ba9717f3e943cfdc76e121eb5dd.diff; + sha256 = "17a164b0v36g0kwiqdlkjx6g0pjhcs6ilizck7iky8bgjnmiypm1"; + }) ]; # TODO: First python_dep in meson.build needs to be removed |