Unverified Commit ea7ce9fb authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

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

parents 79d17016 3fec1be8
Loading
Loading
Loading
Loading
+49 −0
Original line number Diff line number Diff line
{
  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 −0
Original line number Diff line number Diff line
@@ -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 { };