about summary refs log tree commit diff
path: root/pkgs/servers/tt-rss
diff options
context:
space:
mode:
authorSmaug123 <patrick+github@patrickstevens.co.uk>2022-08-01 09:05:12 +0100
committerJörg Thalheim <joerg@thalheim.io>2022-10-31 07:50:31 +0100
commit73a4e61349d1399b753ab3fc385fb80dd655d786 (patch)
tree9792ede0efb7217210e9700a4ae6a3ba50bc06ae /pkgs/servers/tt-rss
parent5c4ca40f94258515b1835d40756c3004a81f7c31 (diff)
tt-rss: 2021-06-21 -> 2022-08-01
Pull in a year of upstream changes.
This update will involve two database migrations when logging in to the
resulting service.
Diffstat (limited to 'pkgs/servers/tt-rss')
-rw-r--r--pkgs/servers/tt-rss/default.nix16
1 files changed, 7 insertions, 9 deletions
diff --git a/pkgs/servers/tt-rss/default.nix b/pkgs/servers/tt-rss/default.nix
index 39615a238e353..7ec0f56f61927 100644
--- a/pkgs/servers/tt-rss/default.nix
+++ b/pkgs/servers/tt-rss/default.nix
@@ -1,16 +1,14 @@
-{ lib, stdenv, fetchurl }:
+{ lib, stdenv, fetchgit }:
 
 stdenv.mkDerivation rec {
   pname = "tt-rss";
-  year = "21";
-  month = "06";
-  day = "21";
-  version = "20${year}-${month}-${day}";
+  version = "unstable-2022-08-01";
   rev = "cd26dbe64c9b14418f0b2d826a38a35c6bf8a270";
 
-  src = fetchurl {
-    url = "https://git.tt-rss.org/fox/tt-rss/archive/${rev}.tar.gz";
-    sha256 = "1dpmzi7hknv5rk2g1iw13r8zcxcwrhkd5hhf292ml0dw3cwki0gm";
+  src = fetchgit {
+    url = "https://git.tt-rss.org/fox/tt-rss.git";
+    rev = "ed2cbeffcc456a86726b52d37c977a35b895968c";
+    sha256 = "0ab1q316y4f432z2kwn86kc144awk529cild7b4jbffh2ydlj3r4";
   };
 
   installPhase = ''
@@ -21,7 +19,7 @@ stdenv.mkDerivation rec {
 
     # see the code of Config::get_version(). you can check that the version in
     # the footer of the preferences pages is not UNKNOWN
-    echo "${year}.${month}" > $out/version_static.txt
+    echo "22.08" > $out/version_static.txt
 
     runHook postInstall
   '';