nixos-config/mastus/ttrss/drv.nix

28 lines
589 B
Nix
Raw Normal View History

2016-06-19 07:15:34 +00:00
{ stdenv, fetchgit }:
stdenv.mkDerivation rec {
name = "tt-rss-${version}";
version = "16.3";
src = fetchgit {
url = "https://tt-rss.org/gitlab/fox/tt-rss.git";
rev = "refs/tags/${version}";
sha256 = "1584lcq6kcy9f8ik5djb9apck9hxvfpl54sn6yhl3pdfrfdj3nw5";
};
buildPhases = ["unpackPhase" "installPhase"];
installPhase = ''
mkdir $out
cp -ra * $out/
'';
meta = with stdenv.lib; {
description = "Web-based news feed (RSS/Atom) aggregator";
license = licenses.gpl2Plus;
homepage = http://tt-rss.org;
platforms = platforms.all;
};
}