Commit 42b9d038 authored by Michael Adler's avatar Michael Adler
Browse files

notmuch-mailmover: migrate to pkgs/by-name, format, add updateScript

parent cd5bb9cf
Loading
Loading
Loading
Loading
+13 −6
Original line number Diff line number Diff line
{ notmuch
, lib
, fetchFromGitHub
, rustPlatform
, installShellFiles
{
  notmuch,
  lib,
  fetchFromGitHub,
  rustPlatform,
  installShellFiles,
  nix-update-script,
}:
rustPlatform.buildRustPackage rec {
  pname = "notmuch-mailmover";
@@ -29,12 +31,17 @@ rustPlatform.buildRustPackage rec {
      --zsh share/_notmuch-mailmover
  '';

  passthru.updateScript = nix-update-script { };

  meta = with lib; {
    description = "Application to assign notmuch tagged mails to IMAP folders";
    mainProgram = "notmuch-mailmover";
    homepage = "https://github.com/michaeladler/notmuch-mailmover/";
    license = licenses.asl20;
    maintainers = with maintainers; [ michaeladler archer-65 ];
    maintainers = with maintainers; [
      michaeladler
      archer-65
    ];
    platforms = platforms.all;
  };
}
+0 −1
Original line number Diff line number Diff line
@@ -31656,7 +31656,6 @@ with pkgs;
    pythonPackages = python3Packages;
  };
  notmuch-mailmover = callPackage ../applications/networking/mailreaders/notmuch/notmuch-mailmover.nix { };
  notmuch-mutt = callPackage ../applications/networking/mailreaders/notmuch/mutt.nix { };