1{ callPackage, fetchurl }: 2 3callPackage ./generic.nix { 4 version = "3.6.4"; 5 hash = "sha256-y5YqKtjW4IXyIZkoJvwCGC4scx0qdeV40rynHza4NUE="; 6 7 patches = [ 8 # Fixes the build with GCC 14 on aarch64. 9 # 10 # See: 11 # * <https://github.com/openwrt/openwrt/pull/15479> 12 # * <https://github.com/Mbed-TLS/mbedtls/issues/9003> 13 (fetchurl { 14 url = "https://raw.githubusercontent.com/openwrt/openwrt/52b6c9247997e51a97f13bb9e94749bc34e2d52e/package/libs/mbedtls/patches/100-fix-gcc14-build.patch"; 15 hash = "sha256-20bxGoUHkrOEungN3SamYKNgj95pM8IjbisNRh68Wlw="; 16 }) 17 ]; 18}