11 stdenv.mkDerivation rec {
13 # Stable version has non-working MPI detection.
14 version = "unstable-24.02.2020";
16 src = fetchFromGitLab {
19 rev = "92f4910c6ac88e111db2fb3a518089d0510c53b0";
20 sha256 = "1c7pjrvifncbdyngs2bv185imxbcbq64nka8gshhp8n2ns6fids6";
33 # Required for compilation with gcc-14
34 env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
37 mkdir build && cd build
39 configureFlagsArray+=(
40 --with-mpi=${lib.getDev mpi}
48 configureScript = "../configure";
50 hardeningDisable = [ "format" ];
55 description = "Portable C library of density functionals with van der Waals interactions for density functional theory";
56 license = with licenses; [
60 homepage = "https://libvdwxc.materialsmodeling.org/";
61 platforms = platforms.unix;
62 maintainers = [ maintainers.sheepforce ];