2022-11-04 12:27:35 +00:00
|
|
|
{ lib, stdenv, fetchgit }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tt-rss";
|
2022-11-04 12:27:35 +00:00
|
|
|
version = "unstable-2022-10-15";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-11-04 12:27:35 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.tt-rss.org/fox/tt-rss.git";
|
|
|
|
rev = "602e8684258062937d7f554ab7889e8e02318c96";
|
|
|
|
sha256 = "sha256-vgRaxo998Gx9rVeZZl52jppK1v11jpEK0J0NoDMT44I=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
2021-08-05 21:33:18 +00:00
|
|
|
runHook preInstall
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
mkdir $out
|
|
|
|
cp -ra * $out/
|
2021-08-05 21:33:18 +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
|
2022-11-04 12:27:35 +00:00
|
|
|
echo "22.10" > $out/version_static.txt
|
2021-08-05 21:33:18 +00:00
|
|
|
|
|
|
|
runHook postInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Web-based news feed (RSS/Atom) aggregator";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
homepage = "https://tt-rss.org";
|
|
|
|
maintainers = with maintainers; [ globin zohl ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|