mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
precice: enable for darwin
This commit is contained in:
parent
c943e6bc14
commit
509208ea45
1 changed files with 3 additions and 1 deletions
|
@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
|
|||
"-DPYTHON_INCLUDE_DIR=${python3}/include/${python3.libPrefix}m"
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin [ "-D_GNU_SOURCE" ];
|
||||
|
||||
nativeBuildInputs = [ cmake gcc ];
|
||||
buildInputs = [ boost eigen libxml2 openmpi python3 python3.pkgs.numpy ];
|
||||
enableParallelBuilding = true;
|
||||
|
@ -26,7 +28,7 @@ stdenv.mkDerivation rec {
|
|||
description = "preCICE stands for Precise Code Interaction Coupling Environment";
|
||||
license = with lib.licenses; [ gpl3 ];
|
||||
homepage = "https://www.precice.org/";
|
||||
platforms = lib.platforms.linux;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ Scriptkiddi ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue