2012-11-23 06:38:13 +04:00
|
|
|
|
2012-11-23 18:29:17 +04:00
|
|
|
{ stdenv, fetchurl, cmake,
|
|
|
|
singlePrec ? true,
|
|
|
|
fftw
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-12-18 18:49:50 +04:00
|
|
|
name = "gromacs-4.6.5";
|
2012-11-23 18:29:17 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-12-18 18:49:50 +04:00
|
|
|
url = "ftp://ftp.gromacs.org/pub/gromacs/gromacs-4.6.5.tar.gz";
|
|
|
|
sha256 = "02ggrplh8fppqib86y3rfk4qm08yddlrb1yjgzl138b3b4qjy957";
|
2012-11-23 18:29:17 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [cmake fftw];
|
|
|
|
|
|
|
|
cmakeFlags = ''
|
|
|
|
${if singlePrec then "-DGMX_DOUBLE=OFF" else "-DGMX_DOUBLE=ON -DGMX_DEFAULT_SUFFIX=OFF"}
|
|
|
|
'';
|
|
|
|
|
2015-05-27 22:56:04 +03:00
|
|
|
meta = with stdenv.lib; {
|
2012-11-23 18:29:17 +04:00
|
|
|
homepage = "http://www.gromacs.org";
|
2015-05-28 20:20:29 +03:00
|
|
|
license = licenses.gpl2;
|
2014-08-24 18:21:08 +04:00
|
|
|
description = "Molecular dynamics software package";
|
2012-11-23 18:29:17 +04:00
|
|
|
longDescription = ''
|
|
|
|
GROMACS is a versatile package to perform molecular dynamics,
|
|
|
|
i.e. simulate the Newtonian equations of motion for systems
|
|
|
|
with hundreds to millions of particles.
|
|
|
|
|
|
|
|
It is primarily designed for biochemical molecules like
|
|
|
|
proteins, lipids and nucleic acids that have a lot of
|
|
|
|
complicated bonded interactions, but since GROMACS is
|
|
|
|
extremely fast at calculating the nonbonded interactions (that
|
|
|
|
usually dominate simulations) many groups are also using it
|
|
|
|
for research on non-biological systems, e.g. polymers.
|
|
|
|
|
|
|
|
GROMACS supports all the usual algorithms you expect from a
|
|
|
|
modern molecular dynamics implementation, (check the online
|
|
|
|
reference or manual for details), but there are also quite a
|
|
|
|
few features that make it stand out from the competition.
|
|
|
|
|
2012-11-23 18:45:19 +04:00
|
|
|
See: http://www.gromacs.org/About_Gromacs for details.
|
2012-11-23 18:29:17 +04:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|