notmuch-mailmover: 0.1.0 -> 0.2.0

+14 -3
+14 -3
pkgs/applications/networking/mailreaders/notmuch/notmuch-mailmover.nix
··· 3 3 , stdenv 4 4 , fetchFromGitHub 5 5 , rustPlatform 6 + , installShellFiles 6 7 }: 7 8 rustPlatform.buildRustPackage rec { 8 9 pname = "notmuch-mailmover"; 9 - version = "0.1.0"; 10 + version = "0.2.0"; 10 11 11 12 src = fetchFromGitHub { 12 13 owner = "michaeladler"; 13 14 repo = pname; 14 15 rev = "v${version}"; 15 - sha256 = "sha256-b2Q1JcXIp56Niv5kdPgQSM91e8hPPdyhWIG4f7kQn78="; 16 + hash = "sha256-12eDCqer13GJS0YjJDleJbkP4o7kZfof6HlLG06qZW0="; 16 17 }; 18 + 19 + cargoHash = "sha256-B5VSkhY4nNXSG2SeCl22pSkl6SXEEoYj99wEsNhs/bQ="; 20 + 21 + nativeBuildInputs = [ installShellFiles ]; 17 22 18 23 buildInputs = [ notmuch ]; 19 24 20 - cargoSha256 = "sha256-AW0mCdQN3WJhSErJ/MqnNIsRX+C6Pb/zHCQh7v/70MU="; 25 + postInstall = '' 26 + installManPage share/notmuch-mailmover.1 27 + installShellCompletion --cmd notmuch-mailmover \ 28 + --bash share/notmuch-mailmover.bash \ 29 + --fish share/notmuch-mailmover.fish \ 30 + --zsh share/_notmuch-mailmover 31 + ''; 21 32 22 33 meta = with lib; { 23 34 description = "Application to assign notmuch tagged mails to IMAP folders";