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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

63 lines
1.1 KiB
Nix
Raw Normal View History

2022-01-06 20:02:35 +01:00
{ mkDerivation
, lib
, stdenv
, fetchFromGitLab
, cmake
, boost
, bzip2
, ffmpeg
, fftwSinglePrec
, hdf5
, muparser
, netcdf
, openssl
, python3
, qscintilla
, qtbase
, qtsvg
, qttools
, VideoDecodeAcceleration
}:
2021-01-29 21:46:27 +01:00
mkDerivation rec {
pname = "ovito";
2022-08-01 07:02:26 +02:00
version = "3.7.7";
2021-01-29 21:46:27 +01:00
src = fetchFromGitLab {
owner = "stuko";
repo = "ovito";
rev = "v${version}";
2022-08-01 07:02:26 +02:00
sha256 = "sha256-wKXnb7ZzWOPPrHj3jOeFazRy0PVqcV/OFeaBs6qgF1I=";
2021-01-29 21:46:27 +01:00
};
nativeBuildInputs = [
cmake
];
buildInputs = [
boost
2022-01-06 20:02:35 +01:00
bzip2
ffmpeg
2021-01-29 21:46:27 +01:00
fftwSinglePrec
2022-01-06 20:02:35 +01:00
hdf5
2021-01-29 21:46:27 +01:00
muparser
2022-01-06 20:02:35 +01:00
netcdf
2021-01-29 21:46:27 +01:00
openssl
2022-01-06 20:02:35 +01:00
python3
qscintilla
2021-01-29 21:46:27 +01:00
qtbase
qtsvg
qttools
2022-01-06 20:02:35 +01:00
] ++ lib.optionals stdenv.isDarwin [
VideoDecodeAcceleration
2021-01-29 21:46:27 +01: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-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
};
}