2022-10-07 23:35:04 +01:00
|
|
|
{ lib, stdenvNoCC, fetchurl, unzip }:
|
2016-09-09 13:08:46 +01:00
|
|
|
|
2022-10-07 23:35:04 +01:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "selfoss";
|
2022-10-07 23:35:04 +01:00
|
|
|
version = "2.19";
|
2016-09-09 13:08:46 +01:00
|
|
|
|
2018-04-27 19:04:00 +01:00
|
|
|
src = fetchurl {
|
2022-10-07 23:35:04 +01:00
|
|
|
url = "https://github.com/SSilence/selfoss/releases/download/${version}/selfoss-${version}.zip";
|
|
|
|
sha256 = "5JxHUOlyMneWPKaZtgLwn5FI4rnyWPzmsUQpSYrw5Pw=";
|
2016-09-09 13:08:46 +01:00
|
|
|
};
|
|
|
|
|
2022-10-07 23:35:04 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
unzip
|
|
|
|
];
|
2018-04-27 19:04:00 +01:00
|
|
|
|
2016-09-09 13:08:46 +01:00
|
|
|
installPhase = ''
|
2022-10-07 23:35:04 +01:00
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir "$out"
|
|
|
|
cp -ra \
|
|
|
|
.htaccess \
|
|
|
|
.nginx.conf \
|
|
|
|
* \
|
|
|
|
"$out/"
|
|
|
|
|
|
|
|
runHook postInstall
|
2016-09-09 13:08:46 +01:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-09-09 13:08:46 +01:00
|
|
|
description = "Web-based news feed (RSS/Atom) aggregator";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://selfoss.aditu.de";
|
2022-10-07 23:35:04 +01:00
|
|
|
license = licenses.gpl3Only;
|
2018-07-05 09:37:59 +01:00
|
|
|
maintainers = with maintainers; [ jtojnar regnat ];
|
2016-09-09 13:08:46 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|