python3Packages.firedrake-fiat: 2025.4.0 -> 2025.4.1 (#439362)

This commit is contained in:
Peder Bergebakken Sundt
2025-09-04 12:36:37 +02:00
committed by GitHub
2 changed files with 25 additions and 4 deletions
@@ -11,18 +11,19 @@
symengine,
fenics-ufl,
pytestCheckHook,
nix-update-script,
}:
buildPythonPackage rec {
pname = "firdrake-fiat";
version = "2025.4.0";
pname = "firedrake-fiat";
version = "2025.4.1";
pyproject = true;
src = fetchFromGitHub {
owner = "firedrakeproject";
repo = "fiat";
tag = version;
hash = "sha256-i+hDpeg4SYRF7OK6uh1p1gVscyuJ4FjmyUUiLR7P7/A=";
hash = "sha256-rN2JPXsauyBF6X2378kOmqHNB+1EqxiGnDaVoEXy4vw=";
};
postPatch =
@@ -62,6 +63,18 @@ buildPythonPackage rec {
"--skip-download"
];
passthru = {
# python updater script sets the wrong tag
skipBulkUpdate = true;
updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"([0-9.]+)"
];
};
};
meta = {
description = "FInite element Automatic Tabulator";
homepage = "http://fenics-fiat.readthedocs.org/";
@@ -43,9 +43,10 @@
mpiCheckPhaseHook,
writableTmpDirAsHomeHook,
# passthru.tests
# passthru
firedrake,
mpich,
nix-update-script,
}:
let
firedrakePackages = lib.makeScope newScope (self: {
@@ -173,6 +174,13 @@ buildPythonPackage rec {
# python updater script sets the wrong tag
skipBulkUpdate = true;
updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"([0-9.]+)"
];
};
tests = lib.optionalAttrs stdenv.hostPlatform.isLinux {
mpich = firedrake.override {
petsc4py = petsc4py.override { mpi = mpich; };