2022-01-07 04:07:37 +00:00
|
|
|
{ mkDerivation
|
|
|
|
, lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitLab
|
|
|
|
, cmake
|
|
|
|
, boost
|
|
|
|
, bzip2
|
|
|
|
, ffmpeg
|
|
|
|
, fftwSinglePrec
|
|
|
|
, hdf5
|
|
|
|
, muparser
|
|
|
|
, netcdf
|
|
|
|
, openssl
|
|
|
|
, python3
|
|
|
|
, qscintilla
|
|
|
|
, qtbase
|
|
|
|
, qtsvg
|
|
|
|
, qttools
|
|
|
|
, VideoDecodeAcceleration
|
|
|
|
}:
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "ovito";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "3.7.11";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "stuko";
|
|
|
|
repo = "ovito";
|
|
|
|
rev = "v${version}";
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "sha256-Z3uwjOYJ7di/LLllbzdKjzUE7m119i03bA8dJPqhxWA=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
boost
|
2022-01-07 04:07:37 +00:00
|
|
|
bzip2
|
|
|
|
ffmpeg
|
2021-02-05 17:12:51 +00:00
|
|
|
fftwSinglePrec
|
2022-01-07 04:07:37 +00:00
|
|
|
hdf5
|
2021-02-05 17:12:51 +00:00
|
|
|
muparser
|
2022-01-07 04:07:37 +00:00
|
|
|
netcdf
|
2021-02-05 17:12:51 +00:00
|
|
|
openssl
|
2022-01-07 04:07:37 +00:00
|
|
|
python3
|
|
|
|
qscintilla
|
2021-02-05 17:12:51 +00:00
|
|
|
qtbase
|
|
|
|
qtsvg
|
|
|
|
qttools
|
2022-01-07 04:07:37 +00:00
|
|
|
] ++ lib.optionals stdenv.isDarwin [
|
|
|
|
VideoDecodeAcceleration
|
2021-02-05 17:12:51 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Scientific visualization and analysis software for atomistic and particle simulation data";
|
|
|
|
homepage = "https://ovito.org";
|
|
|
|
license = with licenses; [ gpl3Only mit ];
|
|
|
|
maintainers = with maintainers; [ twhitehead ];
|
2022-01-07 04:07:37 +00:00
|
|
|
broken = stdenv.isDarwin; # clang-11: error: no such file or directory: '$-DOVITO_COPYRIGHT_NOTICE=...
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
}
|