3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/pcmsolver/default.nix
Phillip Seeber 3f1fc1731e pcmsolver: init at 1.3.0
formatting

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
formatting

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-05-27 11:14:37 +02:00

44 lines
863 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, perl, gfortran, python
, boost, eigen, zlib
} :
stdenv.mkDerivation rec {
pname = "pcmsolver";
version = "1.3.0";
src = fetchFromGitHub {
owner = "PCMSolver";
repo = pname;
rev = "v${version}";
sha256= "0jrxr8z21hjy7ik999hna9rdqy221kbkl3qkb06xw7g80rc9x9yr";
};
nativeBuildInputs = [
cmake
gfortran
perl
python
];
buildInputs = [
boost
eigen
zlib
];
cmakeFlags = [ "-DENABLE_OPENMP=ON" ];
hardeningDisable = [ "format" ];
# Requires files, that are not installed.
doCheck = false;
meta = with lib; {
description = "An API for the Polarizable Continuum Model";
homepage = "https://pcmsolver.readthedocs.io/en/stable/";
license = licenses.lgpl3Only;
platforms = platforms.linux;
maintainers = [ maintainers.sheepforce ];
};
}