mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 07:28:56 +08:00
add rsshub
This commit is contained in:
parent
0d7e8654af
commit
d5ad02aa23
@ -7,4 +7,5 @@
|
||||
oneapi = callPackage ./oneapi {};
|
||||
send = callPackage ./send {};
|
||||
misskey = callPackage ./misskey {};
|
||||
rsshub = callPackage ./rsshub {};
|
||||
}
|
||||
|
24
local/pkgs/rsshub/default.nix
Normal file
24
local/pkgs/rsshub/default.nix
Normal 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
|
||||
# '';
|
||||
}
|
Loading…
Reference in New Issue
Block a user