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