diff --git a/flake.nix b/flake.nix index 5e065a6..91f27fd 100644 --- a/flake.nix +++ b/flake.nix @@ -96,7 +96,6 @@ (_: super: { weather = super.callPackage ./pkgs/weather { }; nicer = super.callPackage ./pkgs/nicer.nix { }; - imapsync = super.callPackage ./pkgs/imapsync.nix { }; tmuxbash = super.callPackage ./pkgs/tmuxbash.nix { }; vanta-agent = super.callPackage ./pkgs/vanta-agent.nix { }; diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index b8ed884..5a6b193 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -657,7 +657,6 @@ in acpi yt-dlp ffmpeg - imapsync rtorrent age-plugin-yubikey ]; diff --git a/modules/profiles/desktop/default.nix b/modules/profiles/desktop/default.nix index 33ff044..62c6d96 100644 --- a/modules/profiles/desktop/default.nix +++ b/modules/profiles/desktop/default.nix @@ -186,7 +186,6 @@ in audacity graphviz powertop - imapsync librecad qgis-ltr # qgis gets recompiled, qgis-ltr is cached by hydra tesseract diff --git a/pkgs/imapsync.nix b/pkgs/imapsync.nix deleted file mode 100644 index 9a756aa..0000000 --- a/pkgs/imapsync.nix +++ /dev/null @@ -1,76 +0,0 @@ -{ - lib, - fetchurl, - makeWrapper, - perl, - perlPackages, - stdenv, -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "imapsync"; - version = "2.290"; - - src = fetchurl { - url = "https://imapsync.lamiral.info/dist/old_releases/${finalAttrs.version}/imapsync-${finalAttrs.version}.tgz"; - hash = "sha256-uFhTxnaUDP793isfpF/7T8d4AnXDL4uN6zU8igY+EFE="; - }; - - postPatch = '' - sed -i -e s@/usr@$out@ Makefile - substituteInPlace INSTALL.d/prerequisites_imapsync --replace "PAR::Packer" "" - ''; - - postInstall = '' - wrapProgram $out/bin/imapsync --set PERL5LIB $PERL5LIB - ''; - - nativeBuildInputs = [ makeWrapper ]; - - buildInputs = with perlPackages; [ - Appcpanminus - CGI - CryptOpenSSLRSA - DataUniqid - DistCheckConflicts - EncodeIMAPUTF7 - FileCopyRecursive - FileTail - IOSocketINET6 - IOTee - JSONWebToken - LWP - MailIMAPClient - ModuleImplementation - ModuleScanDeps - NetServer - NTLM - PackageStash - PackageStashXS - ProcProcessTable - Readonly - RegexpCommon - SysMemInfo - TermReadKey - TestDeep - TestFatal - TestMockGuard - TestMockObject - TestPod - TestRequires - UnicodeString - perl - ]; - - meta = with lib; { - description = "Mail folder synchronizer between IMAP servers"; - mainProgram = "imapsync"; - homepage = "https://imapsync.lamiral.info/"; - license = licenses.nlpl; - maintainers = with maintainers; [ - pSub - motiejus - ]; - platforms = platforms.unix; - }; -})