about summary refs log tree commit diff
path: root/pkgs/servers/web-apps/selfoss/default.nix
blob: 9b11e1261372a713b42ce2678547a4342c9e63da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  name = "selfoss-${version}";
  version = "2.15";

  src = fetchFromGitHub {
    owner = "SSilence";
    repo = "selfoss";
    rev = version;
    sha256 = "0ljpyd354yalpnqwj6xk9b9mq4h6p8jbqznapj7nvfybas8faq15";
  };

  buildPhases = ["unpackPhase" "installPhase"];

  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 ];
  };
}