summary refs log tree commit diff
path: root/pkgs/servers/web-apps/selfoss/default.nix
blob: 1606cc9e76bf927650222a0462419791e938cd9c (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-unstable-${version}";
  version = "2016-07-31";

  src = fetchFromGitHub {
    owner = "SSilence";
    repo = "selfoss";
    rev = "ceb431ad9208e2c5e31dafe593c75e5eb8b65cf7";
    sha256 = "00vrpw7sb95x6lwpaxrlzxyj98k98xblqcrjr236ykv0ha97xv30";
  };

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