nixpkgs/pkgs/development/python-modules/ovito/default.nix

44 lines
978 B
Nix
Raw Normal View History

2020-10-31 17:07:42 +00:00
{ stdenv
, fetchFromGitLab
2018-09-18 18:32:01 +01:00
, cmake
2020-10-31 17:07:42 +00:00
, ffmpeg
, netcdf
, qscintilla
, zlib
, boost
, git
, fftw
, hdf5
, libssh
, qt5
, python
2018-09-18 18:32:01 +01:00
}:
2020-10-31 17:07:42 +00:00
stdenv.mkDerivation rec {
version = "3.3.1";
pname = "ovito";
2018-09-18 18:32:01 +01:00
2020-10-31 17:07:42 +00:00
src = fetchFromGitLab {
owner = "stuko";
repo = pname;
2020-10-31 17:07:42 +00:00
rev = "v${version}";
sha256 = "0rm1qxa0fanaaqg0idr6rf2s2xlbyn1dzjzwh3rddy9mgl60lj2h";
2018-09-18 18:32:01 +01:00
};
2020-10-31 17:07:42 +00:00
buildInputs = [ cmake ffmpeg netcdf qscintilla zlib boost zlib git fftw hdf5 libssh qt5.qtbase qt5.qtsvg ];
propagatedBuildInputs = with python.pkgs; [ sphinx numpy sip pyqt5 matplotlib ase ];
2018-09-18 18:32:01 +01:00
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Scientific visualization and analysis software for atomistic simulation data";
homepage = "https://www.ovito.org";
2018-09-18 18:32:01 +01:00
license = licenses.gpl3;
2020-10-31 17:07:42 +00:00
maintainers = with maintainers; [ costrouc ];
2018-09-18 18:32:01 +01:00
# ensures not built on hydra
# https://github.com/NixOS/nixpkgs/pull/46846#issuecomment-436388048
hydraPlatforms = [ ];
};
}