nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 stdenv,
3 lib,
4 fetchFromGitHub,
5 nixosTests,
6 nix-update-script,
7}:
8
9stdenv.mkDerivation rec {
10 pname = "rss-bridge";
11 version = "2025-06-03";
12
13 src = fetchFromGitHub {
14 owner = "RSS-Bridge";
15 repo = "rss-bridge";
16 rev = version;
17 sha256 = "sha256-S9TSTUwuScOcLbEpGgET1zzH1WlO1IMUOiwzMTsA65s=";
18 };
19
20 installPhase = ''
21 mkdir $out/
22 cp -R ./* $out
23 '';
24
25 passthru = {
26 tests = {
27 inherit (nixosTests.rss-bridge) caddy nginx;
28 };
29 updateScript = nix-update-script { };
30 };
31
32 meta = with lib; {
33 description = "RSS feed for websites missing it";
34 homepage = "https://github.com/RSS-Bridge/rss-bridge";
35 license = licenses.unlicense;
36 maintainers = with maintainers; [
37 dawidsowa
38 mynacol
39 ];
40 platforms = platforms.all;
41 };
42}