about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorAntoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>2020-10-06 22:35:26 +0200
committerAntoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>2020-10-06 23:25:13 +0200
commit98e5369bafacf919982813d86e5dc99095d5d3d0 (patch)
tree97cce7936e9f6bfee9ec2af643d7b2c74aff3263 /pkgs
parent4e1b68b5aa422ca79199b0b248574833556b7768 (diff)
gmrender-resurrect: Make build against libupnp 1.14 ok
Current PR opened but not merged upstream [1]

[1] https://github.com/hzeller/gmrender-resurrect/pull/214
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/networking/gmrender-resurrect/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/tools/networking/gmrender-resurrect/default.nix b/pkgs/tools/networking/gmrender-resurrect/default.nix
index fa364dc4eab69..8a8ed25a5a62e 100644
--- a/pkgs/tools/networking/gmrender-resurrect/default.nix
+++ b/pkgs/tools/networking/gmrender-resurrect/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, makeWrapper, gstreamer
+{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkgconfig, makeWrapper, gstreamer
 , gst-plugins-base, gst-plugins-good, gst-plugins-bad, gst-plugins-ugly, gst-libav, libupnp }:
 
 let
@@ -19,6 +19,14 @@ in
       sha256 = "14i5jrry6qiap5l2x2jqj7arymllajl3wgnk29ccvr8d45zp4jn1";
     };
 
+    patches = [
+      (fetchpatch {
+        url = "https://github.com/hzeller/gmrender-resurrect/commit/dc8c4d4dc234311b3099e7f1efadf5d9733c81e9.patch";
+        sha256 = "0fqi58viaq9jg5h5j1725qrach4c3wmfmh0q43q4r8az2pn7dszw";
+        name = "libupnp.patch";
+      })
+    ];
+
     buildInputs = [ gstreamer libupnp ];
     nativeBuildInputs = [ autoreconfHook pkgconfig makeWrapper ];