Commit 0b06031e authored by qbisi's avatar qbisi
Browse files

python3Packages.firedrake-fiat: skip bulk update and add updateScript

parent a9d8bca3
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
  symengine,
  fenics-ufl,
  pytestCheckHook,
  nix-update-script,
}:

buildPythonPackage rec {
@@ -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/";