add rsshub

This commit is contained in:
陈浩南 2023-08-14 20:57:56 +08:00
parent 0d7e8654af
commit d5ad02aa23
2 changed files with 25 additions and 0 deletions

View File

@ -7,4 +7,5 @@
oneapi = callPackage ./oneapi {};
send = callPackage ./send {};
misskey = callPackage ./misskey {};
rsshub = callPackage ./rsshub {};
}

View File

@ -0,0 +1,24 @@
{ lib, mkYarnPackage, fetchFromGitHub }:
mkYarnPackage
{
pname = "rsshub";
version = "20230814";
src = fetchFromGitHub
{
owner = "DIYgod";
repo = "RSSHub";
rev = "ecab0c0882a17b9b70431aca0c155a2da9d2c4fa";
hash = "sha256-VAIUQCQcKYaav4Ch73Cn7poO0/VCGtWkWJkPJ3Qp31A=";
};
# configurePhase =
# ''
# cp -r $node_modules node_modules
# '';
# buildPhase =
# ''
# runHook preBuild
# # yarn install --frozen-lockfile --offline
# NODE_ENV=production yarn build --offline
# runHook postBuild
# '';
}