python312Packages.fenics-ufl: init at 2025.1.0 (#403406)

This commit is contained in:
Nick Cao
2025-05-05 18:55:01 -04:00
committed by GitHub
2 changed files with 51 additions and 0 deletions
@@ -0,0 +1,49 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
numpy,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "fenics-ufl";
version = "2025.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "fenics";
repo = "ufl";
tag = version;
hash = "sha256-4WKUtW6cLvgazyjp1vpDWZa54QeCbbP3LE1C3dv5QFc=";
};
build-system = [
setuptools
];
dependencies = [
numpy
];
pythonImportsCheck = [
"ufl"
"ufl.algorithms"
"ufl.core"
"ufl.corealg"
"ufl.formatting"
"ufl.utils"
];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
homepage = "https://fenicsproject.org";
downloadPage = "https://github.com/fenics/ufl";
description = "Unified Form Language";
changelog = "https://github.com/fenics/ufl/releases/tag/${src.tag}";
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ qbisi ];
};
}
+2
View File
@@ -4855,6 +4855,8 @@ self: super: with self; {
fenics = callPackage ../development/python-modules/fenics { hdf5 = pkgs.hdf5_1_10; };
fenics-ufl = callPackage ../development/python-modules/fenics-ufl { };
ffcv = callPackage ../development/python-modules/ffcv { };
ffmpeg-progress-yield = callPackage ../development/python-modules/ffmpeg-progress-yield { };