about summary refs log tree commit diff
path: root/pkgs/applications/video/webtorrent_desktop
diff options
context:
space:
mode:
authorPeder Bergebakken Sundt <pbsds@hotmail.com>2024-06-06 00:37:33 +0200
committerPeder Bergebakken Sundt <pbsds@hotmail.com>2024-06-12 01:05:15 +0200
commit8e1e4c64035a440870492dc6635df6412203a603 (patch)
tree7749b877de9c9543c6de4847396cf65e665ca212 /pkgs/applications/video/webtorrent_desktop
parentef15362c97daaffa385c85f5b593bec2dbcfbed0 (diff)
webtorrent_desktop: make fetchpatch url reproducible
Diffstat (limited to 'pkgs/applications/video/webtorrent_desktop')
-rw-r--r--pkgs/applications/video/webtorrent_desktop/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/video/webtorrent_desktop/default.nix b/pkgs/applications/video/webtorrent_desktop/default.nix
index 75a8d9f5c639f..60ef7c57cdc8a 100644
--- a/pkgs/applications/video/webtorrent_desktop/default.nix
+++ b/pkgs/applications/video/webtorrent_desktop/default.nix
@@ -12,12 +12,14 @@ buildNpmPackage {
   patches = [
     # electron 27 fix
     (fetchpatch {
-      url = "https://github.com/webtorrent/webtorrent-desktop/pull/2388.patch";
+      name = "2388.patch"; # https://github.com/webtorrent/webtorrent-desktop/pull/2388
+      url = "https://github.com/webtorrent/webtorrent-desktop/compare/ebaf9cf8487dbd9e14a9a0c5adc3eab23b199e58...0c3e55d1f091bf66a342e2732550ebeccc2e4169.patch";
       hash = "sha256-gam5oAZtsaiCNFwecA5ff0nhraySLx3SOHlb/js+cPM=";
     })
     # startup fix
     (fetchpatch {
-      url = "https://github.com/webtorrent/webtorrent-desktop/pull/2389.patch";
+      name = "2389.patch"; # https://github.com/webtorrent/webtorrent-desktop/pull/2389
+      url = "https://github.com/webtorrent/webtorrent-desktop/commit/407046d150ed7ff876a5e1978f68630e9c8f0074.patch";
       hash = "sha256-hBJGLNNjcGRhYOFlLm/RL0po+70tEeJtR6Y/CfacPAI=";
     })
   ];