Files
nixpkgs/pkgs/by-name/pr/precice/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

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;
};
}