1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 06:05:13 +00:00
nixpkgs/pkgs/servers/web-apps/selfoss/default.nix
Franz Pletz 555d2db620
selfoss: 2016-07-31 -> 2.18
Fixes PHP7 compatibility.
2018-04-27 20:04:32 +02:00

29 lines
656 B
Nix

{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
name = "selfoss-${version}";
version = "2.18";
src = fetchurl {
url = "https://github.com/SSilence/selfoss/releases/download/${version}/${name}.zip";
sha256 = "1vd699r1kjc34n8avggckx2b0daj5rmgrj997sggjw2inaq4cg8b";
};
sourceRoot = ".";
nativeBuildInputs = [ unzip ];
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 ];
};
}