about summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders
diff options
context:
space:
mode:
authorRyan Lahfa <masterancpp@gmail.com>2022-12-04 15:38:07 +0100
committerGitHub <noreply@github.com>2022-12-04 15:38:07 +0100
commite2c00264d2fd257ebe717d03e9878c4749d02c3c (patch)
tree21f339708d9c26219876264f8e721f9181aebfc2 /pkgs/applications/networking/mailreaders
parente1185ea0965ac7a3e7c12f0a58c21d6cd255ced9 (diff)
parent6dd5d4a5d211e67b7f04f4239783d933032fc2e7 (diff)
Merge pull request #201203 from archer-65/add/notmuch-mailmover
notmuch-mailmover: init at 0.1.0
Diffstat (limited to 'pkgs/applications/networking/mailreaders')
-rw-r--r--pkgs/applications/networking/mailreaders/notmuch/notmuch-mailmover.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/networking/mailreaders/notmuch/notmuch-mailmover.nix b/pkgs/applications/networking/mailreaders/notmuch/notmuch-mailmover.nix
new file mode 100644
index 0000000000000..12a2437121a53
--- /dev/null
+++ b/pkgs/applications/networking/mailreaders/notmuch/notmuch-mailmover.nix
@@ -0,0 +1,29 @@
+{ notmuch
+, lib
+, stdenv
+, fetchFromGitHub
+, rustPlatform
+}:
+rustPlatform.buildRustPackage rec {
+  pname = "notmuch-mailmover";
+  version = "0.1.0";
+
+  src = fetchFromGitHub {
+    owner = "michaeladler";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "sha256-b2Q1JcXIp56Niv5kdPgQSM91e8hPPdyhWIG4f7kQn78=";
+  };
+
+  buildInputs = [ notmuch ];
+
+  cargoSha256 = "sha256-AW0mCdQN3WJhSErJ/MqnNIsRX+C6Pb/zHCQh7v/70MU=";
+
+  meta = with lib; {
+    description = "Application to assign notmuch tagged mails to IMAP folders";
+    homepage = "https://github.com/michaeladler/notmuch-mailmover/";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ michaeladler archer-65 ];
+    platforms = platforms.all;
+  };
+}