Skip to content

Commit be2e87f

Browse files
committed
notmuch-mailmover: 0.3.0 -> 0.4.0
1 parent 42b9d03 commit be2e87f

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

pkgs/by-name/no/notmuch-mailmover/package.nix

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,40 @@
33
lib,
44
fetchFromGitHub,
55
rustPlatform,
6+
pkg-config,
7+
lua5_4,
68
installShellFiles,
79
nix-update-script,
810
}:
911
rustPlatform.buildRustPackage rec {
1012
pname = "notmuch-mailmover";
11-
version = "0.3.0";
13+
version = "0.4.0";
1214

1315
src = fetchFromGitHub {
1416
owner = "michaeladler";
1517
repo = pname;
1618
rev = "v${version}";
17-
hash = "sha256-b+6vQ7m49+9RQ+GA75VgOAJej/2zeu5JAje/OazsEsk=";
19+
hash = "sha256-MqDmojVkSPNhpls+O5CrFuo2b7lfFfg1cLDg5PjCF7U=";
1820
};
1921

20-
cargoHash = "sha256-qHSmfR5iUBXq8OQJkGCVA4JnExXisN2OIAVKiVMUaZo=";
22+
cargoHash = "sha256-xFnA6f0X5BAmZEDwR4/hKwIKTr5yNK+CJbo3/o5MmoI=";
2123

22-
nativeBuildInputs = [ installShellFiles ];
24+
nativeBuildInputs = [
25+
installShellFiles
26+
pkg-config
27+
];
2328

24-
buildInputs = [ notmuch ];
29+
buildInputs = [
30+
notmuch
31+
lua5_4
32+
];
2533

2634
postInstall = ''
2735
installManPage share/notmuch-mailmover.1.gz
36+
37+
mkdir -p $out/share/notmuch-mailmover
38+
cp -dR example $out/share/notmuch-mailmover/
39+
2840
installShellCompletion --cmd notmuch-mailmover \
2941
--bash share/notmuch-mailmover.bash \
3042
--fish share/notmuch-mailmover.fish \

0 commit comments

Comments
 (0)