nixpkgs-suyu/pkgs/servers/web-apps/selfoss/default.nix

28 lines
664 B
Nix
Raw Normal View History

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