2018-04-27 19:04:00 +01:00
|
|
|
{ stdenv, fetchurl, unzip }:
|
2016-09-09 13:08:46 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-04-27 19:04:00 +01:00
|
|
|
name = "selfoss-${version}";
|
|
|
|
version = "2.18";
|
2016-09-09 13:08:46 +01:00
|
|
|
|
2018-04-27 19:04:00 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/SSilence/selfoss/releases/download/${version}/${name}.zip";
|
|
|
|
sha256 = "1vd699r1kjc34n8avggckx2b0daj5rmgrj997sggjw2inaq4cg8b";
|
2016-09-09 13:08:46 +01:00
|
|
|
};
|
|
|
|
|
2018-04-27 19:04:00 +01:00
|
|
|
sourceRoot = ".";
|
|
|
|
nativeBuildInputs = [ unzip ];
|
|
|
|
|
2016-09-09 13:08:46 +01:00
|
|
|
installPhase = ''
|
|
|
|
mkdir $out
|
|
|
|
cp -ra * $out/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Web-based news feed (RSS/Atom) aggregator";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
homepage = http://http://selfoss.aditu.de/;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.regnat ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|