ecm: enable on Darwin

+7 -4
+7 -4
pkgs/applications/science/math/ecm/default.nix
··· 10 10 inherit name; 11 11 12 12 src = fetchurl { 13 - url = http://gforge.inria.fr/frs/download.php/file/32159/ecm-6.4.4.tar.gz; 14 - sha256 = "0v5h2nicz9yx78c2d72plbhi30iq4nxbvphja1s9501db4aah4y8"; 15 - }; 13 + url = http://gforge.inria.fr/frs/download.php/file/32159/ecm-6.4.4.tar.gz; 14 + sha256 = "0v5h2nicz9yx78c2d72plbhi30iq4nxbvphja1s9501db4aah4y8"; 15 + }; 16 + 17 + # See https://trac.sagemath.org/ticket/19233 18 + configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-asm-redc"; 16 19 17 20 buildInputs = [ m4 gmp ]; 18 21 ··· 23 26 license = stdenv.lib.licenses.gpl2Plus; 24 27 homepage = http://ecm.gforge.inria.fr/; 25 28 maintainers = [ stdenv.lib.maintainers.roconnor ]; 26 - platforms = stdenv.lib.platforms.linux; 29 + platforms = with stdenv.lib.platforms; linux ++ darwin; 27 30 }; 28 31 }