python312Packages.netgen: rename to python312Packages.netgen-mesher (#387902)

This commit is contained in:
Nick Cao
2025-03-07 23:35:52 -05:00
committed by GitHub
2 changed files with 4 additions and 6 deletions
+3 -5
View File
@@ -78,6 +78,9 @@ stdenv.mkDerivation (finalAttrs: {
substituteInPlace python/CMakeLists.txt \
--replace-fail ''\'''${CMAKE_INSTALL_PREFIX}/''${NG_INSTALL_DIR_PYTHON}' \
''\'''${CMAKE_INSTALL_PREFIX}/''${NG_INSTALL_DIR_PYTHON}:$ENV{PYTHONPATH}'
substituteInPlace ng/ng.tcl ng/onetcl.cpp \
--replace-fail "libnggui" "$out/lib/libnggui"
'';
nativeBuildInputs = [
@@ -121,11 +124,6 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeBool "ENABLE_UNIT_TESTS" finalAttrs.finalPackage.doInstallCheck)
];
# Tcl script used by netgen need to be aware of environment NETGENDIR
postInstall = ''
wrapProgram "$out/bin/netgen" --set NETGENDIR "$out/bin"
'';
# mesh generation differs on x86_64 and aarch64 platform
# tests will fail on aarch64 platform
doInstallCheck = stdenv.hostPlatform.isx86_64;
+1 -1
View File
@@ -9399,7 +9399,7 @@ self: super: with self; {
netdisco = callPackage ../development/python-modules/netdisco { };
netgen = toPythonModule (pkgs.netgen.override { python3Packages = self; });
netgen-mesher = toPythonModule (pkgs.netgen.override { python3Packages = self; });
nethsm = callPackage ../development/python-modules/nethsm { };