Skip to content

Commit 1be07e5

Browse files
authored
notmuch-mailmover: 0.3.0 -> 0.4.0 (#345530)
2 parents 9cbdecd + be2e87f commit 1be07e5

File tree

2 files changed

+30
-12
lines changed

2 files changed

+30
-12
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,59 @@
1-
{ notmuch
2-
, lib
3-
, fetchFromGitHub
4-
, rustPlatform
5-
, installShellFiles
1+
{
2+
notmuch,
3+
lib,
4+
fetchFromGitHub,
5+
rustPlatform,
6+
pkg-config,
7+
lua5_4,
8+
installShellFiles,
9+
nix-update-script,
610
}:
711
rustPlatform.buildRustPackage rec {
812
pname = "notmuch-mailmover";
9-
version = "0.3.0";
13+
version = "0.4.0";
1014

1115
src = fetchFromGitHub {
1216
owner = "michaeladler";
1317
repo = pname;
1418
rev = "v${version}";
15-
hash = "sha256-b+6vQ7m49+9RQ+GA75VgOAJej/2zeu5JAje/OazsEsk=";
19+
hash = "sha256-MqDmojVkSPNhpls+O5CrFuo2b7lfFfg1cLDg5PjCF7U=";
1620
};
1721

18-
cargoHash = "sha256-qHSmfR5iUBXq8OQJkGCVA4JnExXisN2OIAVKiVMUaZo=";
22+
cargoHash = "sha256-xFnA6f0X5BAmZEDwR4/hKwIKTr5yNK+CJbo3/o5MmoI=";
1923

20-
nativeBuildInputs = [ installShellFiles ];
24+
nativeBuildInputs = [
25+
installShellFiles
26+
pkg-config
27+
];
2128

22-
buildInputs = [ notmuch ];
29+
buildInputs = [
30+
notmuch
31+
lua5_4
32+
];
2333

2434
postInstall = ''
2535
installManPage share/notmuch-mailmover.1.gz
36+
37+
mkdir -p $out/share/notmuch-mailmover
38+
cp -dR example $out/share/notmuch-mailmover/
39+
2640
installShellCompletion --cmd notmuch-mailmover \
2741
--bash share/notmuch-mailmover.bash \
2842
--fish share/notmuch-mailmover.fish \
2943
--zsh share/_notmuch-mailmover
3044
'';
3145

46+
passthru.updateScript = nix-update-script { };
47+
3248
meta = with lib; {
3349
description = "Application to assign notmuch tagged mails to IMAP folders";
3450
mainProgram = "notmuch-mailmover";
3551
homepage = "https://github.com/michaeladler/notmuch-mailmover/";
3652
license = licenses.asl20;
37-
maintainers = with maintainers; [ michaeladler archer-65 ];
53+
maintainers = with maintainers; [
54+
michaeladler
55+
archer-65
56+
];
3857
platforms = platforms.all;
3958
};
4059
}

pkgs/top-level/all-packages.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31535,7 +31535,6 @@ with pkgs;
3153531535
pythonPackages = python3Packages;
3153631536
};
3153731537

31538-
notmuch-mailmover = callPackage ../applications/networking/mailreaders/notmuch/notmuch-mailmover.nix { };
3153931538

3154031539
notmuch-mutt = callPackage ../applications/networking/mailreaders/notmuch/mutt.nix { };
3154131540

0 commit comments

Comments
 (0)