remind: use gitUpdater

This commit is contained in:
Alexis Hildebrandt
2024-12-10 23:46:38 +01:00
parent f425ed85dc
commit 12c0a74afb
+10 -4
View File
@@ -1,7 +1,8 @@
{
lib,
stdenv,
fetchurl,
fetchFromGitea,
gitUpdater,
tk,
tclPackages,
tcl,
@@ -17,9 +18,12 @@ tcl.mkTclDerivation rec {
pname = "remind";
version = "05.01.01";
src = fetchurl {
url = "https://dianne.skoll.ca/projects/remind/download/remind-${version}.tar.gz";
hash = "sha256-906V9QdFHKJ1+uXv9zrFz9swfeVr/kxgkgKkGsscUY0=";
src = fetchFromGitea {
domain = "git.skoll.ca";
owner = "Skollsoft-Public";
repo = "Remind";
rev = version;
hash = "sha256-2qsJIdBsIttgofjB9Zd566I95mxkO7BTwUNPe50+bEY=";
};
propagatedBuildInputs = lib.optionals withGui [
@@ -44,6 +48,8 @@ tcl.mkTclDerivation rec {
"-DHAVE_UNSETENV"
]);
passthru.updateScript = gitUpdater { };
meta = with lib; {
homepage = "https://dianne.skoll.ca/projects/remind/";
description = "Sophisticated calendar and alarm program for the console";