7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
63 lines
1.1 KiB
Nix
63 lines
1.1 KiB
Nix
{ mkDerivation
|
|
, lib
|
|
, stdenv
|
|
, fetchFromGitLab
|
|
, cmake
|
|
, boost
|
|
, bzip2
|
|
, ffmpeg
|
|
, fftwSinglePrec
|
|
, hdf5
|
|
, muparser
|
|
, netcdf
|
|
, openssl
|
|
, python3
|
|
, qscintilla
|
|
, qtbase
|
|
, qtsvg
|
|
, qttools
|
|
, VideoDecodeAcceleration
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "ovito";
|
|
version = "3.7.11";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "stuko";
|
|
repo = "ovito";
|
|
rev = "v${version}";
|
|
hash = "sha256-Z3uwjOYJ7di/LLllbzdKjzUE7m119i03bA8dJPqhxWA=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
buildInputs = [
|
|
boost
|
|
bzip2
|
|
ffmpeg
|
|
fftwSinglePrec
|
|
hdf5
|
|
muparser
|
|
netcdf
|
|
openssl
|
|
python3
|
|
qscintilla
|
|
qtbase
|
|
qtsvg
|
|
qttools
|
|
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
|
VideoDecodeAcceleration
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Scientific visualization and analysis software for atomistic and particle simulation data";
|
|
mainProgram = "ovito";
|
|
homepage = "https://ovito.org";
|
|
license = with licenses; [ gpl3Only mit ];
|
|
maintainers = with maintainers; [ twhitehead ];
|
|
broken = stdenv.hostPlatform.isDarwin; # clang-11: error: no such file or directory: '$-DOVITO_COPYRIGHT_NOTICE=...
|
|
};
|
|
}
|