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

30 lines
683 B
Nix
Raw Normal View History

2016-09-09 13:08:46 +01:00
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
2016-10-09 10:11:37 +01:00
name = "selfoss-unstable-${version}";
version = "2016-07-31";
2016-09-09 13:08:46 +01:00
src = fetchFromGitHub {
owner = "SSilence";
repo = "selfoss";
2016-10-09 10:11:37 +01:00
rev = "ceb431ad9208e2c5e31dafe593c75e5eb8b65cf7";
sha256 = "00vrpw7sb95x6lwpaxrlzxyj98k98xblqcrjr236ykv0ha97xv30";
2016-09-09 13:08:46 +01:00
};
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 ];
};
}