25 rustPlatform.buildRustPackage rec {
31 "https://git.meli-email.org/meli/meli/archive/v${version}.tar.gz"
32 "https://codeberg.org/meli/meli/archive/v${version}.tar.gz"
33 "https://github.com/meli/meli/archive/refs/tags/v${version}.tar.gz"
35 hash = "sha256-zFsKL9F6PGoYjxFfFs2Bkdm2ZCeJtnTygkgCL7AXl9o=";
38 cargoHash = "sha256-us/jlsRbg0Y6FwznbRZeqK1TwwgL1uBwBdyneyvdI6Q=";
40 # Needed to get openssl-sys to use pkg-config
48 (rustfmt.override { asNightly = true; })
63 installManPage meli/docs/*.{1,5,7}
65 wrapProgram $out/bin/meli \
66 --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ gpgme ]} \
67 --prefix PATH : ${lib.makeBinPath [ gnum4 ]}
71 export HOME=$(mktemp -d)
75 "--skip=test_cli_subcommands" # panicking due to sandbox
79 broken = (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64);
80 description = "Terminal e-mail client and e-mail client library";
82 homepage = "https://meli.delivery";
83 license = licenses.gpl3;
84 maintainers = with maintainers; [ _0x4A6F matthiasbeyer ];
85 platforms = platforms.linux ++ platforms.darwin;