Skip to content

Commit 42b9d03

Browse files
committed
notmuch-mailmover: migrate to pkgs/by-name, format, add updateScript
1 parent cd5bb9c commit 42b9d03

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed
Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
{ notmuch
2-
, lib
3-
, fetchFromGitHub
4-
, rustPlatform
5-
, installShellFiles
1+
{
2+
notmuch,
3+
lib,
4+
fetchFromGitHub,
5+
rustPlatform,
6+
installShellFiles,
7+
nix-update-script,
68
}:
79
rustPlatform.buildRustPackage rec {
810
pname = "notmuch-mailmover";
@@ -29,12 +31,17 @@ rustPlatform.buildRustPackage rec {
2931
--zsh share/_notmuch-mailmover
3032
'';
3133

34+
passthru.updateScript = nix-update-script { };
35+
3236
meta = with lib; {
3337
description = "Application to assign notmuch tagged mails to IMAP folders";
3438
mainProgram = "notmuch-mailmover";
3539
homepage = "https://github.com/michaeladler/notmuch-mailmover/";
3640
license = licenses.asl20;
37-
maintainers = with maintainers; [ michaeladler archer-65 ];
41+
maintainers = with maintainers; [
42+
michaeladler
43+
archer-65
44+
];
3845
platforms = platforms.all;
3946
};
4047
}

pkgs/top-level/all-packages.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31656,7 +31656,6 @@ with pkgs;
3165631656
pythonPackages = python3Packages;
3165731657
};
3165831658

31659-
notmuch-mailmover = callPackage ../applications/networking/mailreaders/notmuch/notmuch-mailmover.nix { };
3166031659

3166131660
notmuch-mutt = callPackage ../applications/networking/mailreaders/notmuch/mutt.nix { };
3166231661

0 commit comments

Comments
 (0)