remind: use gitUpdater (#360976)

This commit is contained in:
7c6f434c
2024-12-15 18:44:46 +00:00
committed by GitHub
+11 -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,11 +48,14 @@ 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";
license = licenses.gpl2Only;
maintainers = with maintainers; [
afh
raskin
kovirobi
];