Unverified Commit ad5b0b32 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

isync: 1.5.0-unstable-2024-09-29 -> 1.5.1 (#399791)

parents 971fef16 4cbe8cbd
Loading
Loading
Loading
Loading
+9 −10
Original line number Diff line number Diff line
@@ -20,12 +20,12 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "isync";
  version = "1.5.0-unstable-2024-09-29";
  version = "1.5.1";

  src = fetchgit {
    url = "https://git.code.sf.net/p/isync/isync";
    rev = "3c4b5f1c83a568f18c14c93aab95c9a853edfd15";
    hash = "sha256-MRjWr88sxd3C+YTMCqEymxmLj5h+uJKh9mcG+aEqf64=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-l0jL4CzAdFtQGekbywic1Kuihy3ZQi4ozhSEcbJI0t0=";
  };

  # Fixes "Fatal: buffer too small" error
@@ -33,8 +33,7 @@ stdenv.mkDerivation (finalAttrs: {
  env.NIX_CFLAGS_COMPILE = "-DQPRINTF_BUFF=4000";

  autoreconfPhase = ''
    echo "1.5.0-3c4b5" > VERSION
    echo "See https://sourceforge.net/p/isync/isync/ci/3c4b5f1c83a568f18c14c93aab95c9a853edfd15/log/?path=" > ChangeLog
    echo "${finalAttrs.version}" > VERSION
    ./autogen.sh
  '';

@@ -61,19 +60,19 @@ stdenv.mkDerivation (finalAttrs: {
        }"
  '';

  meta = with lib; {
  meta = {
    homepage = "http://isync.sourceforge.net/";
    # https://sourceforge.net/projects/isync/
    changelog = "https://sourceforge.net/p/isync/isync/ci/v${version}/tree/NEWS";
    changelog = "https://sourceforge.net/p/isync/isync/ci/v${finalAttrs.version}/tree/NEWS";
    description = "Free IMAP and MailDir mailbox synchronizer";
    longDescription = ''
      mbsync (formerly isync) is a command line application which synchronizes
      mailboxes. Currently Maildir and IMAP4 mailboxes are supported. New
      messages, message deletions and flag changes can be propagated both ways.
    '';
    license = licenses.gpl2Plus;
    platforms = platforms.unix;
    maintainers = with maintainers; [ primeos ];
    license = lib.licenses.gpl2Plus;
    platforms = lib.platforms.unix;
    maintainers = with lib.maintainers; [ primeos ];
    mainProgram = "mbsync";
  };
})