mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
34 lines
758 B
Nix
34 lines
758 B
Nix
|
{ lib
|
||
|
, fetchFromGitHub
|
||
|
, rustPlatform
|
||
|
, notmuch
|
||
|
, stdenv
|
||
|
, Security
|
||
|
}:
|
||
|
|
||
|
rustPlatform.buildRustPackage rec {
|
||
|
pname = "mujmap";
|
||
|
version = "0.1.1";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "elizagamedev";
|
||
|
repo = pname;
|
||
|
rev = "v${version}";
|
||
|
sha256 = "sha256-O5CbLgs+MkATPtess0gocgPB9kwD8FMR/urwm6jo2rA=";
|
||
|
};
|
||
|
|
||
|
cargoSha256 = "sha256-nOZ+HnzXhVp+tLrNMZO1NmZIhIqlWz0fRMbHVIQkOxI=";
|
||
|
|
||
|
buildInputs = [
|
||
|
notmuch
|
||
|
] ++ lib.optional stdenv.isDarwin Security;
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Bridge for synchronizing email and tags between JMAP and notmuch";
|
||
|
homepage = "https://github.com/elizagamedev/mujmap/";
|
||
|
license = licenses.gpl3Plus;
|
||
|
maintainers = with maintainers; [ elizagamedev ];
|
||
|
mainProgram = "mujmap";
|
||
|
};
|
||
|
}
|