c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
36 lines
760 B
Nix
36 lines
760 B
Nix
{ lib, stdenvNoCC, fetchurl, unzip }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "selfoss";
|
|
version = "2.19";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/SSilence/selfoss/releases/download/${version}/selfoss-${version}.zip";
|
|
sha256 = "5JxHUOlyMneWPKaZtgLwn5FI4rnyWPzmsUQpSYrw5Pw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
unzip
|
|
];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir "$out"
|
|
cp -ra \
|
|
.htaccess \
|
|
.nginx.conf \
|
|
* \
|
|
"$out/"
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Web-based news feed (RSS/Atom) aggregator";
|
|
homepage = "https://selfoss.aditu.de";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ jtojnar regnat ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|