Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
595 B
Nix
Raw Normal View History

2025-05-01 00:02:10 +08:00
{
lib,
pkgs,
buildPythonPackage,
fetchFromGitHub,
scikit-build-core,
gfortran,
cmake,
ninja,
mpi,
libspatialindex,
rtree,
}:
buildPythonPackage rec {
inherit (pkgs.libsupermesh)
pname
version
src
meta
;
pyproject = true;
build-system = [
scikit-build-core
];
nativeBuildInputs = [
gfortran
cmake
ninja
mpi
];
dontUseCmakeConfigure = true;
buildInputs = [
libspatialindex
gfortran.cc.lib
];
dependencies = [
rtree
];
# Only build tests if not built by scikit-build-core
doCheck = false;
}