File tree Expand file tree Collapse file tree 2 files changed +30
-12
lines changed
by-name/no/notmuch-mailmover Expand file tree Collapse file tree 2 files changed +30
-12
lines changed Original file line number Diff line number Diff line change 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} :
711rustPlatform . 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}
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments