Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

givaro: Add darwin support

+12 -2
+12 -2
pkgs/development/libraries/givaro/default.nix
··· 11 rev = "v${version}"; 12 sha256 = "199p8wyj5i63jbnk7j8qbdbfp5rm2lpmcxyk3mdjy9bz7ygx3hhy"; 13 }; 14 nativeBuildInputs = [ autoreconfHook ]; 15 buildInputs = [autoconf automake libtool gmpxx]; 16 configureFlags = [ 17 "--disable-optimization" 18 ] ++ stdenv.lib.optionals (!optimize) [ ··· 28 "--disable-fma" 29 "--disable-fma4" 30 ]; 31 - doCheck = true; 32 meta = { 33 inherit version; 34 description = ''A C++ library for arithmetic and algebraic computations''; 35 license = stdenv.lib.licenses.cecill-b; 36 maintainers = [stdenv.lib.maintainers.raskin]; 37 - platforms = stdenv.lib.platforms.linux; 38 }; 39 }
··· 11 rev = "v${version}"; 12 sha256 = "199p8wyj5i63jbnk7j8qbdbfp5rm2lpmcxyk3mdjy9bz7ygx3hhy"; 13 }; 14 + 15 + enableParallelBuilding = true; 16 + 17 nativeBuildInputs = [ autoreconfHook ]; 18 buildInputs = [autoconf automake libtool gmpxx]; 19 + 20 configureFlags = [ 21 "--disable-optimization" 22 ] ++ stdenv.lib.optionals (!optimize) [ ··· 32 "--disable-fma" 33 "--disable-fma4" 34 ]; 35 + 36 + # On darwin, tests are linked to dylib in the nix store, so we need to make 37 + # sure tests run after installPhase. 38 + doInstallCheck = true; 39 + installCheckTarget = "check"; 40 + doCheck = false; 41 + 42 meta = { 43 inherit version; 44 description = ''A C++ library for arithmetic and algebraic computations''; 45 license = stdenv.lib.licenses.cecill-b; 46 maintainers = [stdenv.lib.maintainers.raskin]; 47 + platforms = stdenv.lib.platforms.unix; 48 }; 49 }