nixpkgs-suyu/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-12-27 09:08:01 +01:00
version = "3.7.11";
2021-01-29 21:46:27 +01:00
src = fetchFromGitLab {
owner = "stuko";
repo = "ovito";
rev = "v${version}";
2022-12-27 09:08:01 +01:00
sha256 = "sha256-Z3uwjOYJ7di/LLllbzdKjzUE7m119i03bA8dJPqhxWA=";
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
};
}