2022-10-21 18:38:19 +00:00
|
|
|
{ lib, stdenvNoCC, fetchurl, unzip }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "selfoss";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "2.19";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-10-21 18:38:19 +00:00
|
|
|
url = "https://github.com/SSilence/selfoss/releases/download/${version}/selfoss-${version}.zip";
|
|
|
|
sha256 = "5JxHUOlyMneWPKaZtgLwn5FI4rnyWPzmsUQpSYrw5Pw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
unzip
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
2022-10-21 18:38:19 +00:00
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir "$out"
|
|
|
|
cp -ra \
|
|
|
|
.htaccess \
|
|
|
|
.nginx.conf \
|
|
|
|
* \
|
|
|
|
"$out/"
|
|
|
|
|
|
|
|
runHook postInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Web-based news feed (RSS/Atom) aggregator";
|
|
|
|
homepage = "https://selfoss.aditu.de";
|
2022-10-21 18:38:19 +00:00
|
|
|
license = licenses.gpl3Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ jtojnar regnat ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|