mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
30 lines
725 B
Nix
30 lines
725 B
Nix
{ 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;
|
|
};
|
|
}
|