2022-08-01 08:05:12 +00:00
|
|
|
{ lib, stdenv, fetchgit }:
|
2016-06-05 18:55:46 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "tt-rss";
|
2023-04-27 09:43:34 +00:00
|
|
|
version = "unstable-2023-04-13";
|
2016-06-05 18:55:46 +00:00
|
|
|
|
2022-08-01 08:05:12 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.tt-rss.org/fox/tt-rss.git";
|
2023-04-27 09:43:34 +00:00
|
|
|
rev = "0578bf802571781a0a7e3debbbec66437a7d28b4";
|
|
|
|
hash = "sha256-j6R1QoH8SzUtyI3rGE6rHriboAfApAo/Guw8WbJ7LqU=";
|
2016-06-05 18:55:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
2021-07-25 19:40:33 +00:00
|
|
|
runHook preInstall
|
|
|
|
|
2016-06-05 18:55:46 +00:00
|
|
|
mkdir $out
|
|
|
|
cp -ra * $out/
|
2021-07-25 19:40:33 +00:00
|
|
|
|
|
|
|
# see the code of Config::get_version(). you can check that the version in
|
|
|
|
# the footer of the preferences pages is not UNKNOWN
|
2023-04-27 09:43:34 +00:00
|
|
|
echo "23.04" > $out/version_static.txt
|
2021-07-25 19:40:33 +00:00
|
|
|
|
|
|
|
runHook postInstall
|
2016-06-05 18:55:46 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-06-05 18:55:46 +00:00
|
|
|
description = "Web-based news feed (RSS/Atom) aggregator";
|
|
|
|
license = licenses.gpl2Plus;
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://tt-rss.org";
|
2018-01-05 13:41:41 +00:00
|
|
|
maintainers = with maintainers; [ globin zohl ];
|
2016-06-05 18:55:46 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|