2018-09-18 18:32:01 +01:00
|
|
|
{ stdenv, fetchgit
|
|
|
|
, cmake
|
2019-06-16 20:59:06 +01:00
|
|
|
, libav, netcdf, qscintilla, zlib, boost, git, fftw, hdf5, libssh
|
2018-09-18 18:32:01 +01:00
|
|
|
, pythonPackages
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
# compilation error in 2.9.0 https://gitlab.com/stuko/ovito/issues/40
|
|
|
|
# This is not the "released" 3.0.0 just a commit
|
|
|
|
version = "3.0.0";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "ovito";
|
2018-09-18 18:32:01 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://gitlab.com/stuko/ovito";
|
|
|
|
rev = "a28c28182a879d2a1b511ec56f9845306dd8a4db";
|
|
|
|
sha256 = "1vqzv3gzwf8r0g05a7fj8hdyvnzq2h3wdfck7j6n1av6rvp7hi5r";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake libav netcdf qscintilla zlib boost zlib git fftw hdf5 libssh ];
|
|
|
|
propagatedBuildInputs = with pythonPackages; [ sphinx numpy sip pyqt5 matplotlib ase ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Scientific visualization and analysis software for atomistic simulation data";
|
|
|
|
homepage = https://www.ovito.org;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
# ensures not built on hydra
|
|
|
|
# https://github.com/NixOS/nixpkgs/pull/46846#issuecomment-436388048
|
|
|
|
hydraPlatforms = [ ];
|
|
|
|
};
|
|
|
|
}
|