42 lines
802 B
Nix
42 lines
802 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
nixosTests,
|
|
nix-update-script,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rss-bridge";
|
|
version = "2025-01-26";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "RSS-Bridge";
|
|
repo = "rss-bridge";
|
|
rev = version;
|
|
sha256 = "sha256-b8mBojtNbQ9QSsFT2PTwyHJIOhoOpTxd6c2ldMy/g5g=";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir $out/
|
|
cp -R ./* $out
|
|
'';
|
|
|
|
passthru = {
|
|
tests = {
|
|
inherit (nixosTests.rss-bridge) caddy nginx;
|
|
};
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "RSS feed for websites missing it";
|
|
homepage = "https://github.com/RSS-Bridge/rss-bridge";
|
|
license = licenses.unlicense;
|
|
maintainers = with maintainers; [
|
|
dawidsowa
|
|
mynacol
|
|
];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|