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

43 lines
979 B
Nix
Raw Normal View History

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