ovito: Initial packaging

This commit is contained in:
Tyson Whitehead
2018-07-12 01:29:25 -04:00
parent 115ac559ec
commit 8db76b00da
2 changed files with 35 additions and 0 deletions

View File

@@ -31,6 +31,8 @@ self: super: pkgs: with pkgs; {
openslide = callPackage ./openslide { };
openslide-python = callPackage ./openslide/python.nix { };
ovito = libsForQt5.callPackage ./ovito.nix { stdenv = overrideCC stdenv gcc6; };
#sumo = callPackage ./sumo.nix { };
namd = callPackage ./namd.nix { };

33
pkgs/ovito.nix Normal file
View File

@@ -0,0 +1,33 @@
{ stdenv, fetchFromGitLab, cmake
, boost, netcdf, hdf5, fftwSinglePrec, muparser, botan, libav, python
, qtbase, qtsvg, qttools, qscintilla }:
stdenv.mkDerivation rec {
version = "2.9.0";
name = "ovita-${version}";
src = fetchFromGitLab {
owner = "stuko";
repo = "ovito";
rev = "v${version}";
sha256 = "0yvz0aqw0ynhv9iychk9sdq54njw3lw61cdxv8295csjzx3nyvy3";
};
buildInputs = [
cmake
boost
netcdf hdf5
fftwSinglePrec
muparser
botan
libav
python
qtbase qtsvg qttools qscintilla
];
meta = with stdenv.lib; {
description = "Scientific visualization and analysis software for atomistic and particle simulation data";
homepage = https://ovito.org;
license = licenses.gpl3;
};
}