mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
4a0952d2fa
Mostly what I merged from @lovek323. Such errors can be easily checked by nix-env -f . -qa \* --meta --xml --drv-path --show-trace >/dev/null
47 lines
1.4 KiB
Nix
47 lines
1.4 KiB
Nix
|
|
{ stdenv, fetchurl, cmake,
|
|
singlePrec ? true,
|
|
fftw
|
|
}:
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
name = "gromacs-4.5.5";
|
|
|
|
src = fetchurl {
|
|
url = "ftp://ftp.gromacs.org/pub/gromacs/gromacs-4.5.5.tar.gz";
|
|
md5 = "6a87e7cdfb25d81afa9fea073eb28468";
|
|
};
|
|
|
|
buildInputs = [cmake fftw];
|
|
|
|
cmakeFlags = ''
|
|
${if singlePrec then "-DGMX_DOUBLE=OFF" else "-DGMX_DOUBLE=ON -DGMX_DEFAULT_SUFFIX=OFF"}
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "http://www.gromacs.org";
|
|
license = "GPLv2";
|
|
description = "The GROMACS molecular dynamics software package";
|
|
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.
|
|
|
|
See: http://www.gromacs.org/About_Gromacs for details.
|
|
'';
|
|
};
|
|
}
|