10 description = "Beautiful, fast and maintained fork of Nylas Mail by one of the original authors";
11 downloadPage = "https://github.com/Foundry376/Mailspring";
12 homepage = "https://getmailspring.com";
13 license = licenses.gpl3Plus;
15 Mailspring is an open-source mail client forked from Nylas Mail and built with Electron.
16 Mailspring's sync engine runs locally, but its source is not open.
18 mainProgram = "mailspring";
19 maintainers = with maintainers; [ toschmidt ];
20 platforms = [ "x86_64-linux" "aarch64-darwin" ];
21 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
24 linux = callPackage ./linux.nix { inherit pname version meta; };
25 darwin = callPackage ./darwin.nix { inherit pname version meta; };
26 in if stdenv.hostPlatform.isDarwin then darwin else linux