ecm: enable on Darwin

+7 -4
+7 -4
pkgs/applications/science/math/ecm/default.nix
··· 10 inherit name; 11 12 src = fetchurl { 13 - url = http://gforge.inria.fr/frs/download.php/file/32159/ecm-6.4.4.tar.gz; 14 - sha256 = "0v5h2nicz9yx78c2d72plbhi30iq4nxbvphja1s9501db4aah4y8"; 15 - }; 16 17 buildInputs = [ m4 gmp ]; 18 ··· 23 license = stdenv.lib.licenses.gpl2Plus; 24 homepage = http://ecm.gforge.inria.fr/; 25 maintainers = [ stdenv.lib.maintainers.roconnor ]; 26 - platforms = stdenv.lib.platforms.linux; 27 }; 28 }
··· 10 inherit name; 11 12 src = fetchurl { 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"; 19 20 buildInputs = [ m4 gmp ]; 21 ··· 26 license = stdenv.lib.licenses.gpl2Plus; 27 homepage = http://ecm.gforge.inria.fr/; 28 maintainers = [ stdenv.lib.maintainers.roconnor ]; 29 + platforms = with stdenv.lib.platforms; linux ++ darwin; 30 }; 31 }