nixpkgs/pkgs/applications/graphics/ovito/default.nix

43 lines
983 B
Nix
Raw Normal View History

2022-01-06 19:09:12 +01:00
{ mkDerivation, lib, stdenv, fetchFromGitLab, cmake
2021-01-29 21:46:27 +01:00
, boost, netcdf, hdf5, fftwSinglePrec, muparser, openssl, ffmpeg, python
, qtbase, qtsvg, qttools, qscintilla }:
mkDerivation rec {
pname = "ovito";
version = "3.4.0";
src = fetchFromGitLab {
owner = "stuko";
repo = "ovito";
rev = "v${version}";
sha256 = "1y3wr6yzpsl0qm7cicp2mppfszxd0fgx8hm99in9wff9qd0r16b5";
};
nativeBuildInputs = [
cmake
];
buildInputs = [
boost
netcdf
hdf5
fftwSinglePrec
muparser
openssl
ffmpeg
python
qtbase
qtsvg
qttools
qscintilla
];
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-06 19:09:12 +01:00
broken = stdenv.isDarwin; # clang-11: error: no such file or directory: '$-DOVITO_COPYRIGHT_NOTICE=...
2021-01-29 21:46:27 +01:00
};
}