flint: fix windows build (#416697)

authored by Weijia Wang and committed by GitHub 4116ab5c 44117f3b

+6 -2
+6 -2
pkgs/development/libraries/flint/3.nix
··· 5 gmp, 6 mpfr, 7 ntl, 8 autoconf, 9 automake, 10 gettext, ··· 13 blas, 14 lapack, 15 withBlas ? true, 16 - withNtl ? true, 17 }: 18 19 assert ··· 49 ] 50 ++ lib.optionals withNtl [ 51 ntl 52 ]; 53 54 # We're not using autoreconfHook because flint's bootstrap ··· 79 license = licenses.lgpl3Plus; 80 maintainers = with maintainers; [ smasher164 ]; 81 teams = [ teams.sage ]; 82 - platforms = platforms.unix; 83 homepage = "https://www.flintlib.org/"; 84 downloadPage = "https://www.flintlib.org/downloads.html"; 85 };
··· 5 gmp, 6 mpfr, 7 ntl, 8 + windows, 9 autoconf, 10 automake, 11 gettext, ··· 14 blas, 15 lapack, 16 withBlas ? true, 17 + withNtl ? !ntl.meta.broken, 18 }: 19 20 assert ··· 50 ] 51 ++ lib.optionals withNtl [ 52 ntl 53 + ] 54 + ++ lib.optionals stdenv.hostPlatform.isMinGW [ 55 + windows.mingw_w64_pthreads 56 ]; 57 58 # We're not using autoreconfHook because flint's bootstrap ··· 83 license = licenses.lgpl3Plus; 84 maintainers = with maintainers; [ smasher164 ]; 85 teams = [ teams.sage ]; 86 + platforms = platforms.all; 87 homepage = "https://www.flintlib.org/"; 88 downloadPage = "https://www.flintlib.org/downloads.html"; 89 };