about summary refs log tree commit diff
path: root/pkgs/applications/graphics/ovito/default.nix
blob: f0dc5f2b363e97a86b76ecf041b9d550a277df4c (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
{ mkDerivation, lib, 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 ];
  };
}