2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
44 lines
861 B
Nix
44 lines
861 B
Nix
{ stdenvNoCC
|
|
, lib
|
|
, fetchFromGitHub
|
|
, nixosTests
|
|
, php
|
|
, pkgs
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "FreshRSS";
|
|
version = "1.22.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "FreshRSS";
|
|
repo = "FreshRSS";
|
|
rev = version;
|
|
hash = "sha256-e4+ZkhncgDIWE5NH2eYun2FeWxz1suM//6T6P3V4nQU=";
|
|
};
|
|
|
|
passthru.tests = {
|
|
inherit (nixosTests) freshrss-sqlite freshrss-pgsql freshrss-http-auth;
|
|
};
|
|
|
|
buildInputs = [ php ];
|
|
|
|
# There's nothing to build.
|
|
dontBuild = true;
|
|
|
|
postPatch = ''
|
|
patchShebangs cli/*.php app/actualize_script.php
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
cp -vr * $out/
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "FreshRSS is a free, self-hostable RSS aggregator";
|
|
homepage = "https://www.freshrss.org/";
|
|
license = licenses.agpl3Plus;
|
|
maintainers = with maintainers; [ etu stunkymonkey ];
|
|
};
|
|
}
|