summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorHarrison Houghton <hora.rhino@gmail.com>2021-08-05 22:42:56 -0400
committerHarrison Houghton <hora.rhino@gmail.com>2021-08-05 22:43:19 -0400
commitab5810a2e1afbbbb100358f2422f62025a901b66 (patch)
treeab80b18a874e7ec5593cc297a4b31b684652b58b /pkgs/applications
parent308c004ace14c471d904a065582f8a51be9750f4 (diff)
downloadnixpkgs-ab5810a2e1afbbbb100358f2422f62025a901b66.tar
nixpkgs-ab5810a2e1afbbbb100358f2422f62025a901b66.tar.gz
nixpkgs-ab5810a2e1afbbbb100358f2422f62025a901b66.tar.bz2
nixpkgs-ab5810a2e1afbbbb100358f2422f62025a901b66.tar.lz
nixpkgs-ab5810a2e1afbbbb100358f2422f62025a901b66.tar.xz
nixpkgs-ab5810a2e1afbbbb100358f2422f62025a901b66.tar.zst
nixpkgs-ab5810a2e1afbbbb100358f2422f62025a901b66.zip
paraview: 5.8.0 -> 5.9.1
The new version supports python 3.9.

The patch to avoid the string-format warning is no longer needed.
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/graphics/paraview/default.nix16
1 files changed, 3 insertions, 13 deletions
diff --git a/pkgs/applications/graphics/paraview/default.nix b/pkgs/applications/graphics/paraview/default.nix
index 79feab3ab7a..5e85d304e25 100644
--- a/pkgs/applications/graphics/paraview/default.nix
+++ b/pkgs/applications/graphics/paraview/default.nix
@@ -4,28 +4,18 @@
 
 mkDerivation rec {
   pname = "paraview";
-  version = "5.8.0";
+  version = "5.9.1";
 
   src = fetchFromGitHub {
     owner = "Kitware";
     repo = "ParaView";
     rev = "v${version}";
-    sha256 = "1mka6wwg9mbkqi3phs29mvxq6qbc44sspbm4awwamqhilh4grhrj";
+    sha256 = "0pzic95br0vr785jnpxqmfxcljw3wk7bhm2xy0jfmwm1dh2b7xac";
     fetchSubmodules = true;
   };
 
-  # Avoid error: format not a string literal and
-  # no format arguments [-Werror=format-security]
-  preConfigure = ''
-    substituteInPlace VTK/Common/Core/vtkLogger.h \
-      --replace 'vtkLogScopeF(verbosity_name, __func__)' 'vtkLogScopeF(verbosity_name, "%s", __func__)'
-
-    substituteInPlace VTK/Common/Core/vtkLogger.h \
-      --replace 'vtkVLogScopeF(level, __func__)' 'vtkVLogScopeF(level, "%s", __func__)'
-  '';
-
   # Find the Qt platform plugin "minimal"
-  patchPhase = ''
+  preConfigure = ''
     export QT_PLUGIN_PATH=${qtbase.bin}/${qtbase.qtPluginPrefix}
   '';