Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
55 lines
1021 B
Nix
55 lines
1021 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
boost,
|
|
eigen,
|
|
libxml2,
|
|
mpi,
|
|
python3Packages,
|
|
petsc,
|
|
pkg-config,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "precice";
|
|
version = "3.2.0-unstable-2025-05-23";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "precice";
|
|
repo = "precice";
|
|
rev = "6ee3e347843d4d3c416a32917f6505d35b822445";
|
|
hash = "sha256-BxNAbpeLqJPzQ9dvvgC9jJQQFBdVMunSqIekz7SIHv4=";
|
|
};
|
|
|
|
cmakeFlags = [
|
|
(lib.cmakeBool "PRECICE_PETScMapping" false)
|
|
(lib.cmakeBool "BUILD_SHARED_LIBS" true)
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
boost
|
|
eigen
|
|
libxml2
|
|
mpi
|
|
petsc
|
|
python3Packages.python
|
|
python3Packages.numpy
|
|
];
|
|
|
|
meta = {
|
|
description = "PreCICE stands for Precise Code Interaction Coupling Environment";
|
|
homepage = "https://precice.org/";
|
|
license = with lib.licenses; [ gpl3 ];
|
|
maintainers = with lib.maintainers; [ Scriptkiddi ];
|
|
mainProgram = "binprecice";
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|