about summary refs log tree commit diff
path: root/pkgs/applications/graphics/ovito/default.nix
blob: a9cef1e140900cbfd922303d9418a84c68e30b18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{ mkDerivation, lib, stdenv, fetchFromGitLab, cmake
, 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 ];
    broken = stdenv.isDarwin; # clang-11: error: no such file or directory: '$-DOVITO_COPYRIGHT_NOTICE=...
  };
}