1 { lib, stdenv, fetchFromGitHub, cmake, perl, gfortran, python3
5 stdenv.mkDerivation rec {
9 src = fetchFromGitHub {
13 sha256= "0jrxr8z21hjy7ik999hna9rdqy221kbkl3qkb06xw7g80rc9x9yr";
16 # Glibc 2.34 changed SIGSTKSZ to a dynamic value, which breaks
17 # PCMsolver. Replace SIGSTKZ by the backward-compatible _SC_SIGSTKSZ.
19 substituteInPlace external/Catch/catch.hpp \
20 --replace SIGSTKSZ _SC_SIGSTKSZ
36 cmakeFlags = [ "-DENABLE_OPENMP=ON" ];
38 hardeningDisable = [ "format" ];
40 # Requires files, that are not installed.
44 description = "An API for the Polarizable Continuum Model";
45 homepage = "https://pcmsolver.readthedocs.io/en/stable/";
46 license = licenses.lgpl3Only;
47 platforms = platforms.linux;
48 maintainers = [ maintainers.sheepforce ];