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

30 lines
725 B
Nix
Raw Normal View History

2022-12-03 16:05:41 +01:00
{ notmuch
, lib
, stdenv
, fetchFromGitHub
, rustPlatform
2022-11-14 16:56:16 +01:00
}:
rustPlatform.buildRustPackage rec {
pname = "notmuch-mailmover";
version = "0.1.0";
src = fetchFromGitHub {
owner = "michaeladler";
repo = pname;
rev = "v${version}";
2022-11-14 17:13:47 +01:00
sha256 = "sha256-b2Q1JcXIp56Niv5kdPgQSM91e8hPPdyhWIG4f7kQn78=";
2022-11-14 16:56:16 +01:00
};
2022-12-03 16:05:41 +01:00
buildInputs = [ notmuch ];
2022-11-14 17:13:47 +01:00
cargoSha256 = "sha256-AW0mCdQN3WJhSErJ/MqnNIsRX+C6Pb/zHCQh7v/70MU=";
2022-11-14 16:56:16 +01: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 16:05:41 +01:00
maintainers = with maintainers; [ michaeladler archer-65 ];
2022-11-14 16:56:16 +01:00
platforms = platforms.all;
};
}