mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
34 lines
727 B
Nix
34 lines
727 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, notmuch
|
|
, stdenv
|
|
, Security
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "mujmap";
|
|
version = "0.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elizagamedev";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-Qb9fEPQrdn+Ek9bdOMfaPIxlGGpQ9RfQZOeeqoOf17E=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-nnAYjutjxtEpDNoWTnlESDO4Haz14wZxY4gdyzdLgBU=";
|
|
|
|
buildInputs = [
|
|
notmuch
|
|
] ++ lib.optional stdenv.isDarwin Security;
|
|
|
|
meta = with lib; {
|
|
description = "JMAP integration for notmuch mail";
|
|
homepage = "https://github.com/elizagamedev/mujmap/";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ elizagamedev ];
|
|
mainProgram = "mujmap";
|
|
};
|
|
}
|