2424
2525rustPlatform . buildRustPackage rec {
2626 pname = "meli" ;
27- version = "0.8.7 " ;
27+ version = "0.8.8 " ;
2828
2929 src = fetchzip {
3030 urls = [
3131 "https://git.meli-email.org/meli/meli/archive/v${ version } .tar.gz"
3232 "https://codeberg.org/meli/meli/archive/v${ version } .tar.gz"
3333 "https://github.com/meli/meli/archive/refs/tags/v${ version } .tar.gz"
3434 ] ;
35- hash = "sha256-2+JIehi2wuWdARbhFPvNPIJ9ucZKWjNSORszEG9lyjw =" ;
35+ hash = "sha256-XOUOIlFKxI7eL7KEEfLyYTsNqc2lc9sJNt9RqPavuW8 =" ;
3636 } ;
3737
38- cargoHash = "sha256-ZVhUkpiiPKbWcf56cXFgn3Nyr63STHLlD7mpYEetNIY=" ;
39-
40- cargoPatches = [
38+ cargoPatches = [
4139 ( fetchpatch {
42- # https://github.com/NixOS/nixpkgs/issues/332957#issuecomment-2278578811
43- name = "fix-rust-1.80-compat.patch" ;
44- url = "https://git.meli-email.org/meli/meli/commit/6b05279a0987315c401516cac8ff0b016a8e02a8.patch" ;
45- hash = "sha256-mh8H7wmHMXAe01UTvdY8vJeeLyH6ZFwylNLFFL+4LO0=" ;
40+ # https://git.meli-email.org/meli/meli/issues/522
41+ # https://git.meli-email.org/meli/meli/issues/524
42+ name = "fix test_fd_locks() on platforms without OFD support" ;
43+ url = "https://git.meli-email.org/meli/meli/commit/b7e215f9c238f8364e2a1f0d10ac668d0cfe91ad.patch" ;
44+ hash = "sha256-227vnFuxhQ0Hh5A/J8y7Ei89AxbNXReMn3c3EVRN4Tc=" ;
4645 } )
4746 ] ;
4847
48+ cargoHash = "sha256-SMvpmWEHUWo0snR/DiUmfZJnXy1QtVOowO8CErM9Xjg=" ;
49+
4950 # Needed to get openssl-sys to use pkg-config
5051 OPENSSL_NO_VENDOR = 1 ;
5152
@@ -81,9 +82,7 @@ rustPlatform.buildRustPackage rec {
8182 '' ;
8283
8384 checkFlags = [
84- "--skip=conf::tests::test_config_parse" # panicking due to sandbox
85- "--skip=utils::tests::test_shellexpandtrait_impls" # panicking due to sandbox
86- "--skip=utils::tests::test_shellexpandtrait" # panicking due to sandbox
85+ "--skip=test_cli_subcommands" # panicking due to sandbox
8786 ] ;
8887
8988 meta = with lib ; {
@@ -93,6 +92,6 @@ rustPlatform.buildRustPackage rec {
9392 homepage = "https://meli.delivery" ;
9493 license = licenses . gpl3 ;
9594 maintainers = with maintainers ; [ _0x4A6F matthiasbeyer ] ;
96- platforms = platforms . linux ;
95+ platforms = platforms . linux ++ platforms . darwin ;
9796 } ;
9897}
0 commit comments