From fd4575e6a251c52e56287fda523460059664e5e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Neumann?= Date: Thu, 12 Feb 2026 13:28:51 +0100 Subject: [PATCH] isync: Adopt package & small improvements - Perl::TimeDate no longer seems to be needed - enable checks - update homepage --- pkgs/by-name/is/isync/package.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/is/isync/package.nix b/pkgs/by-name/is/isync/package.nix index 6e514b3dec23..b22d6bcfcf14 100644 --- a/pkgs/by-name/is/isync/package.nix +++ b/pkgs/by-name/is/isync/package.nix @@ -8,7 +8,6 @@ db, cyrus_sasl, zlib, - perlPackages, autoreconfHook, # Disabled by default as XOAUTH2 is an "OBSOLETE" SASL mechanism and this relies # on a package that isn't really maintained anymore: @@ -42,14 +41,16 @@ stdenv.mkDerivation (finalAttrs: { perl ] ++ lib.optionals withCyrusSaslXoauth2 [ makeWrapper ]; + buildInputs = [ - perlPackages.TimeDate openssl db cyrus_sasl zlib ]; + doCheck = true; + postInstall = lib.optionalString withCyrusSaslXoauth2 '' wrapProgram "$out/bin/mbsync" \ --prefix SASL_PATH : "${ @@ -61,8 +62,7 @@ stdenv.mkDerivation (finalAttrs: { ''; meta = { - homepage = "http://isync.sourceforge.net/"; - # https://sourceforge.net/projects/isync/ + homepage = "https://isync.sourceforge.io"; changelog = "https://sourceforge.net/p/isync/isync/ci/v${finalAttrs.version}/tree/NEWS"; description = "Free IMAP and MailDir mailbox synchronizer"; longDescription = '' @@ -72,7 +72,9 @@ stdenv.mkDerivation (finalAttrs: { ''; license = lib.licenses.gpl2Plus; platforms = lib.platforms.unix; - maintainers = [ ]; + maintainers = with lib.maintainers; [ + Necoro + ]; mainProgram = "mbsync"; }; })