ovito: 2.9.0 -> 3.3.5 (older openssl depedency may be insecure)

This commit is contained in:
Tyson Whitehead
2021-01-26 19:28:04 -05:00
parent eed2202981
commit ecb268b423
3 changed files with 5 additions and 32 deletions

View File

@@ -34,7 +34,7 @@ self: super: pkgs: with pkgs; {
openslide = callPackage ./openslide { };
ovito = libsForQt5.callPackage ./ovito { stdenv = overrideCC stdenv gcc6; };
ovito = libsForQt5.callPackage ./ovito.nix { libav = libav_12; };
pythonOverrides = lib.composeExtensions super.pythonOverrides (import ./python-packages.nix pkgs);

View File

@@ -1,27 +1,25 @@
{ stdenv, fetchFromGitLab, cmake
, boost, netcdf, hdf5, fftwSinglePrec, muparser, botan, libav, python
, boost, netcdf, hdf5, fftwSinglePrec, muparser, openssl, libav, python
, qtbase, qtsvg, qttools, qscintilla }:
stdenv.mkDerivation rec {
version = "2.9.0";
version = "3.3.5";
name = "ovita-${version}";
src = fetchFromGitLab {
owner = "stuko";
repo = "ovito";
rev = "v${version}";
sha256 = "0yvz0aqw0ynhv9iychk9sdq54njw3lw61cdxv8295csjzx3nyvy3";
sha256 = "016kc5qh1jg8xryjhizjx67pkdpirgnfwi2i92glclqimln6vnns";
};
patches = [ ./header-file.patch ];
buildInputs = [
cmake
boost
netcdf hdf5
fftwSinglePrec
muparser
botan
openssl
libav
python
qtbase qtsvg qttools qscintilla

View File

@@ -1,25 +0,0 @@
From f7d4388dab9fafe04b01104be0d8e8956e4f712e Mon Sep 17 00:00:00 2001
From: Tyson Whitehead <twhitehead@gmail.com>
Date: Wed, 1 May 2019 16:58:11 -0400
Subject: [PATCH] Header file was included by parent cpp (but not newer moc
outputs?)
---
src/plugins/particles/gui/objects/SimulationCellObjectEditor.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/plugins/particles/gui/objects/SimulationCellObjectEditor.h b/src/plugins/particles/gui/objects/SimulationCellObjectEditor.h
index f095938c..a3b2e0ee 100755
--- a/src/plugins/particles/gui/objects/SimulationCellObjectEditor.h
+++ b/src/plugins/particles/gui/objects/SimulationCellObjectEditor.h
@@ -24,6 +24,7 @@
#include <plugins/particles/gui/ParticlesGui.h>
#include <gui/properties/PropertiesEditor.h>
+#include <gui/properties/BooleanParameterUI.h>
namespace Ovito { namespace Particles { OVITO_BEGIN_INLINE_NAMESPACE(Internal)
--
2.18.1