about summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-12-11 16:43:16 +0100
committerGitHub <noreply@github.com>2023-12-11 16:43:16 +0100
commite5307b781bf98a46611f38729b8fc4a057c06cf6 (patch)
tree2eb894546cb4d1809b0dd740896725eef301244d /pkgs/applications/video
parent6ee016b0fb30bace92f565edbcec619769cd8617 (diff)
parent282d9fd9ea3867a87fdcaaf3ace95d03bff64562 (diff)
downloadnixlib-e5307b781bf98a46611f38729b8fc4a057c06cf6.tar
nixlib-e5307b781bf98a46611f38729b8fc4a057c06cf6.tar.gz
nixlib-e5307b781bf98a46611f38729b8fc4a057c06cf6.tar.bz2
nixlib-e5307b781bf98a46611f38729b8fc4a057c06cf6.tar.lz
nixlib-e5307b781bf98a46611f38729b8fc4a057c06cf6.tar.xz
nixlib-e5307b781bf98a46611f38729b8fc4a057c06cf6.tar.zst
nixlib-e5307b781bf98a46611f38729b8fc4a057c06cf6.zip
Merge pull request #273196 from nbraud/mpvScripts/webtorrent-mpv-hook
webtorrent-mpv-hook: 1.3.3 → 1.4.1
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/mpv/scripts/webtorrent-mpv-hook.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/video/mpv/scripts/webtorrent-mpv-hook.nix b/pkgs/applications/video/mpv/scripts/webtorrent-mpv-hook.nix
index a1713e24375f..e870818fc64f 100644
--- a/pkgs/applications/video/mpv/scripts/webtorrent-mpv-hook.nix
+++ b/pkgs/applications/video/mpv/scripts/webtorrent-mpv-hook.nix
@@ -2,23 +2,23 @@
 
 buildNpmPackage rec {
   pname = "webtorrent-mpv-hook";
-  version = "1.3.3";
+  version = "1.4.1";
 
   src = fetchFromGitHub {
     owner = "mrxdst";
     repo = pname;
     rev = "v${version}";
-    hash = "sha256-AFKX31kriacXygZy0Mw+QwO+SwFEu13687mJ/WeAoKY=";
+    hash = "sha256-/dMtXcIyfAs++Zgz2CxRW0tkzn5QjS+WVGChlCyrU0U=";
   };
 
   postPatch = ''
     substituteInPlace src/webtorrent.ts --replace "node_path: 'node'" "node_path: '${nodejs}/bin/node'"
     # This executable is just for telling non-Nix users how to install
-    substituteInPlace package.json --replace '"bin": "build/bin.js",' ""
+    substituteInPlace package.json --replace '"bin": "build/bin.mjs",' ""
     rm -rf src/bin.ts
   '';
 
-  npmDepsHash = "sha256-GpNUJ5ZCgMjSYLqsIE/RwkTSFT3uAhxrHPe7XvGDRHE=";
+  npmDepsHash = "sha256-EqHPBoYyBuW9elxQH/XVTZoPkKHC6+7aksYo60t7WA4=";
   makeCacheWritable = true;
 
   nativeBuildInputs = [