about summary refs log tree commit diff
path: root/pkgs/development/python-modules/gst-python
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2020-03-17 02:38:10 +0100
committerJan Tojnar <jtojnar@gmail.com>2020-03-24 07:11:19 +0100
commit3c69255eb7fbebf310de8220b3b14ea054c1521d (patch)
tree08516d7b74f47fc4eeed9ed11e7f0466b1455ee1 /pkgs/development/python-modules/gst-python
parent0a01b0c7d2acc3e1bcca6290b196847b1c15f105 (diff)
python3.pkgs.gst-python: 1.14.4 → 1.16.2
Diffstat (limited to 'pkgs/development/python-modules/gst-python')
-rw-r--r--pkgs/development/python-modules/gst-python/default.nix30
1 files changed, 2 insertions, 28 deletions
diff --git a/pkgs/development/python-modules/gst-python/default.nix b/pkgs/development/python-modules/gst-python/default.nix
index 883939f88d1ee..405dd7374fcc6 100644
--- a/pkgs/development/python-modules/gst-python/default.nix
+++ b/pkgs/development/python-modules/gst-python/default.nix
@@ -13,7 +13,7 @@
 
 buildPythonPackage rec {
   pname = "gst-python";
-  version = "1.14.4";
+  version = "1.16.2";
 
   format = "other";
 
@@ -21,30 +21,9 @@ buildPythonPackage rec {
 
   src = fetchurl {
     url = "${meta.homepage}/src/gst-python/${pname}-${version}.tar.xz";
-    sha256 = "06ssx19fs6pg4d32p9ph9w4f0xwmxaw2dxfj17rqkn5njd7v5zfh";
+    sha256 = "II3zFI1z2fQW0BZWRzdYXY6nY9kSAXMtRLX+aIxiiKg=";
   };
 
-  patches = [
-    # Meson build does not support Python 2 at the moment
-    # https://bugzilla.gnome.org/show_bug.cgi?id=796092
-    (fetchurl {
-      name = "0002-meson-use-new-python-module.patch";
-      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";
-    })
-  ];
-
   nativeBuildInputs = [
     meson
     ninja
@@ -70,11 +49,6 @@ buildPythonPackage rec {
   # https://github.com/NixOS/nixpkgs/issues/47390
   installCheckPhase = "meson test --print-errorlogs";
 
-  # TODO: First python_dep in meson.build needs to be removed
-  postPatch = ''
-    substituteInPlace meson.build --replace python3 python${if isPy3k then "3" else "2"}
-  '';
-
   meta = {
     homepage = "https://gstreamer.freedesktop.org";