2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, unzip }:
|
2016-09-09 12:08:46 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "selfoss";
|
2018-04-27 18:04:00 +00:00
|
|
|
version = "2.18";
|
2016-09-09 12:08:46 +00:00
|
|
|
|
2018-04-27 18:04:00 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://github.com/SSilence/selfoss/releases/download/${version}/${pname}-${version}.zip";
|
2018-04-27 18:04:00 +00:00
|
|
|
sha256 = "1vd699r1kjc34n8avggckx2b0daj5rmgrj997sggjw2inaq4cg8b";
|
2016-09-09 12:08:46 +00:00
|
|
|
};
|
|
|
|
|
2018-04-27 18:04:00 +00:00
|
|
|
sourceRoot = ".";
|
|
|
|
nativeBuildInputs = [ unzip ];
|
|
|
|
|
2016-09-09 12:08:46 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir $out
|
|
|
|
cp -ra * $out/
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-09-09 12:08:46 +00:00
|
|
|
description = "Web-based news feed (RSS/Atom) aggregator";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://selfoss.aditu.de";
|
2016-09-09 12:08:46 +00:00
|
|
|
license = licenses.gpl3;
|
2018-07-05 08:37:59 +00:00
|
|
|
maintainers = with maintainers; [ jtojnar regnat ];
|
2016-09-09 12:08:46 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|