git.iko.soy/typeable/nixpkgs
on master help sign in
python2.pkgs.gst-python: fix build
commitca11db894f2a8c91a950d9ec326c3977770b766c authorJan Tojnar <jtojnar@gmail.com> dateWed 5 Sep 2018, 14:12 (8 years ago) parent9bba7c1
1 file changed+11
pkgs/development/python-modules/gst-python/default.nix+11
pkgs/development/python-modules/gst-python/default.nix+11
@@ -28,6 +28,17 @@ in buildPythonPackage rec {
2828 url = https://bugzilla.gnome.org/attachment.cgi?id=371989;
2929 sha256 = "1k46nvw175c1wvkqnx783i9d4w9vn431spcl48jb3y224jj3va08";
3030 })
31+ # Fixes `from gi.repository import Gst` when gst-python's site-package is in
32+ # PYTHONPATH
33+ (fetchurl {
34+ url = https://gitlab.freedesktop.org/gstreamer/gst-python/commit/d64bbc1e0c3c948c148f505cc5f856ce56732880.diff;
35+ sha256 = "1n9pxmcl1x491mp47avpcw2a6n71lm0haz6mfas168prkgsk8q3r";
36+ })
37+ # Fixes python2 build from the above changes
38+ (fetchurl {
39+ url = https://gitlab.freedesktop.org/gstreamer/gst-python/commit/f79ac2d1434d7ba9717f3e943cfdc76e121eb5dd.diff;
40+ sha256 = "17a164b0v36g0kwiqdlkjx6g0pjhcs6ilizck7iky8bgjnmiypm1";
41+ })
3142 ];
3243
3344 # TODO: First python_dep in meson.build needs to be removed