diff options
author | tomf <tom@tom-fitzhenry.me.uk> | 2023-10-28 02:52:11 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-28 02:52:11 +1100 |
commit | d3e8a1c09cdabdbd33e6a0e5f027c6129d2f4ecc (patch) | |
tree | 54808ddd9da9c59290bd6b462dc713de021e2335 /pkgs/applications/networking/mailreaders | |
parent | a96bbff241096f1f464ff2f279eca7e646244570 (diff) | |
parent | 391c937c913181ec3a8f41d6207f48524e4986fb (diff) |
Merge pull request #263573 from michaeladler/updates/notmuch-mailmover
notmuch-mailmover: 0.1.0 -> 0.2.0
Diffstat (limited to 'pkgs/applications/networking/mailreaders')
-rw-r--r-- | pkgs/applications/networking/mailreaders/notmuch/notmuch-mailmover.nix | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/pkgs/applications/networking/mailreaders/notmuch/notmuch-mailmover.nix b/pkgs/applications/networking/mailreaders/notmuch/notmuch-mailmover.nix index 12a2437121a53..ea59ad817249a 100644 --- a/pkgs/applications/networking/mailreaders/notmuch/notmuch-mailmover.nix +++ b/pkgs/applications/networking/mailreaders/notmuch/notmuch-mailmover.nix @@ -3,21 +3,32 @@ , stdenv , fetchFromGitHub , rustPlatform +, installShellFiles }: rustPlatform.buildRustPackage rec { pname = "notmuch-mailmover"; - version = "0.1.0"; + version = "0.2.0"; src = fetchFromGitHub { owner = "michaeladler"; repo = pname; rev = "v${version}"; - sha256 = "sha256-b2Q1JcXIp56Niv5kdPgQSM91e8hPPdyhWIG4f7kQn78="; + hash = "sha256-12eDCqer13GJS0YjJDleJbkP4o7kZfof6HlLG06qZW0="; }; + cargoHash = "sha256-B5VSkhY4nNXSG2SeCl22pSkl6SXEEoYj99wEsNhs/bQ="; + + nativeBuildInputs = [ installShellFiles ]; + buildInputs = [ notmuch ]; - cargoSha256 = "sha256-AW0mCdQN3WJhSErJ/MqnNIsRX+C6Pb/zHCQh7v/70MU="; + postInstall = '' + installManPage share/notmuch-mailmover.1 + installShellCompletion --cmd notmuch-mailmover \ + --bash share/notmuch-mailmover.bash \ + --fish share/notmuch-mailmover.fish \ + --zsh share/_notmuch-mailmover + ''; meta = with lib; { description = "Application to assign notmuch tagged mails to IMAP folders"; |