rsshub: 0-unstable-2025-02-03 -> 0-unstable-2025-05-31

Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>

+23 -4
+18
pkgs/by-name/rs/rsshub/0002-fix-network-call.patch
··· 1 + diff --git a/scripts/workflow/build-routes.ts b/scripts/workflow/build-routes.ts 2 + index 9807cfc..b9dcfb9 100644 3 + --- a/scripts/workflow/build-routes.ts 4 + +++ b/scripts/workflow/build-routes.ts 5 + @@ -4,6 +4,7 @@ import { parse } from 'tldts'; 6 + import fs from 'node:fs'; 7 + import path from 'node:path'; 8 + import toSource from 'tosource'; 9 + +import { exit } from 'node:process'; 10 + 11 + import { getCurrentPath } from '../../lib/utils/helpers'; 12 + const __dirname = getCurrentPath(import.meta.url); 13 + @@ -73,3 +74,5 @@ fs.writeFileSync(path.join(__dirname, '../../assets/build/radar-rules.js'), `(${ 14 + fs.writeFileSync(path.join(__dirname, '../../assets/build/maintainers.json'), JSON.stringify(maintainers, null, 2)); 15 + fs.writeFileSync(path.join(__dirname, '../../assets/build/routes.json'), JSON.stringify(namespaces, null, 2)); 16 + fs.writeFileSync(path.join(__dirname, '../../assets/build/routes.js'), `export default ${JSON.stringify(namespaces, null, 2)}`.replaceAll(/"module": "(.*)"\n/g, `"module": $1\n`)); 17 + + 18 + +exit(0);
+5 -4
pkgs/by-name/rs/rsshub/package.nix
··· 9 9 }: 10 10 stdenv.mkDerivation (finalAttrs: { 11 11 pname = "rsshub"; 12 - version = "0-unstable-2025-02-03"; 12 + version = "0-unstable-2025-05-31"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "DIYgod"; 16 16 repo = "RSSHub"; 17 - rev = "72f78e2bfbcf000a6f374a92894430cf845fd1fd"; 18 - hash = "sha256-okavLIYJZ+0iCsYtBc2r3FS18MVE/ap2OwRae7rWTrw="; 17 + rev = "2dce2e32dd5f4dade2fc915ac8384c953e11cc83"; 18 + hash = "sha256-gS/t6O3MishJgi2K9hV22hT95oYHfm44cJqrUo2GPlM="; 19 19 }; 20 20 21 21 patches = [ 22 22 (replaceVars ./0001-fix-git-hash.patch { 23 23 "GIT_HASH" = finalAttrs.src.rev; 24 24 }) 25 + ./0002-fix-network-call.patch 25 26 ]; 26 27 27 28 pnpmDeps = pnpm_9.fetchDeps { 28 29 inherit (finalAttrs) pname version src; 29 - hash = "sha256-c16Ue5YiRWlF7ldt/8WLi1/xYhGqqr6XqvUieQbvbWg="; 30 + hash = "sha256-7qh6YZbIH/kHVssDZxHY7X8bytrnMcUq0MiJzWZYItc="; 30 31 }; 31 32 32 33 nativeBuildInputs = [