2024-03-04 03:24:36 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, callPackage
|
2020-04-18 11:14:45 +00:00
|
|
|
}:
|
2024-03-04 03:24:36 +00:00
|
|
|
let
|
2020-04-18 11:14:45 +00:00
|
|
|
pname = "mailspring";
|
2024-12-04 21:08:13 +00:00
|
|
|
version = "1.14.0";
|
2020-04-18 11:14:45 +00:00
|
|
|
|
2024-12-04 21:08:13 +00:00
|
|
|
meta = {
|
2020-04-18 11:14:45 +00:00
|
|
|
description = "Beautiful, fast and maintained fork of Nylas Mail by one of the original authors";
|
2023-12-12 11:44:42 +00:00
|
|
|
downloadPage = "https://github.com/Foundry376/Mailspring";
|
|
|
|
homepage = "https://getmailspring.com";
|
2024-12-04 21:08:13 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
2020-04-18 11:14:45 +00:00
|
|
|
longDescription = ''
|
|
|
|
Mailspring is an open-source mail client forked from Nylas Mail and built with Electron.
|
|
|
|
Mailspring's sync engine runs locally, but its source is not open.
|
|
|
|
'';
|
2023-12-12 11:44:42 +00:00
|
|
|
mainProgram = "mailspring";
|
2024-12-04 21:08:13 +00:00
|
|
|
maintainers = with lib.maintainers; [ toschmidt ];
|
2024-03-04 03:24:36 +00:00
|
|
|
platforms = [ "x86_64-linux" "aarch64-darwin" ];
|
2024-12-04 21:08:13 +00:00
|
|
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
2020-04-18 11:14:45 +00:00
|
|
|
};
|
2024-03-04 03:24:36 +00:00
|
|
|
|
|
|
|
linux = callPackage ./linux.nix { inherit pname version meta; };
|
|
|
|
darwin = callPackage ./darwin.nix { inherit pname version meta; };
|
|
|
|
in if stdenv.hostPlatform.isDarwin then darwin else linux
|