nixpkgs/pkgs/applications/science/math/getdp/default.nix

29 lines
1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, cmake, gfortran, blas, lapack, openmpi, petsc, python3 }:
2018-08-18 22:20:45 +00:00
stdenv.mkDerivation rec {
2019-04-30 10:15:15 +00:00
name = "getdp-${version}";
version = "3.3.0";
2018-08-18 22:20:45 +00:00
src = fetchurl {
url = "http://getdp.info/src/getdp-${version}-source.tgz";
2019-04-30 10:15:15 +00:00
sha256 = "1pfviy2bw8z5y6c15czvlvyjjg9pvpgrj9fr54xfi2gmvs7zkgpf";
2018-08-18 22:20:45 +00:00
};
2019-04-30 10:15:15 +00:00
nativeBuildInputs = [ cmake gfortran ];
buildInputs = [ blas lapack openmpi petsc python3 ];
2018-08-18 22:20:45 +00:00
meta = with stdenv.lib; {
description = "A General Environment for the Treatment of Discrete Problems";
longDescription = ''
2019-04-30 10:15:15 +00:00
GetDP is a free finite element solver using mixed elements to discretize
de Rham-type complexes in one, two and three dimensions. The main
feature of GetDP is the closeness between the input data defining
discrete problems (written by the user in ASCII data files) and the
symbolic mathematical expressions of these problems.
2018-08-18 22:20:45 +00:00
'';
2019-04-30 10:15:15 +00:00
homepage = "http://getdp.info/";
license = licenses.gpl2Plus;
2018-08-18 22:20:45 +00:00
maintainers = with maintainers; [ wucke13 ];
platforms = platforms.linux;
};
}