nixpkgs/pkgs/applications/networking/mailreaders/notmuch/notmuch-mailmover.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
725 B
Nix
Raw Normal View History

2022-12-03 15:05:41 +00:00
{ notmuch
, lib
, stdenv
, fetchFromGitHub
, rustPlatform
2022-11-14 15:56:16 +00:00
}:
rustPlatform.buildRustPackage rec {
pname = "notmuch-mailmover";
version = "0.1.0";
src = fetchFromGitHub {
owner = "michaeladler";
repo = pname;
rev = "v${version}";
2022-11-14 16:13:47 +00:00
sha256 = "sha256-b2Q1JcXIp56Niv5kdPgQSM91e8hPPdyhWIG4f7kQn78=";
2022-11-14 15:56:16 +00:00
};
2022-12-03 15:05:41 +00:00
buildInputs = [ notmuch ];
2022-11-14 16:13:47 +00:00
cargoSha256 = "sha256-AW0mCdQN3WJhSErJ/MqnNIsRX+C6Pb/zHCQh7v/70MU=";
2022-11-14 15:56:16 +00:00
meta = with lib; {
description = "Application to assign notmuch tagged mails to IMAP folders";
homepage = "https://github.com/michaeladler/notmuch-mailmover/";
license = licenses.asl20;
2022-12-03 15:05:41 +00:00
maintainers = with maintainers; [ michaeladler archer-65 ];
2022-11-14 15:56:16 +00:00
platforms = platforms.all;
};
}