1 { lib, stdenv, fetchFromGitLab, cmake, gfortran, perl }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitLab {
11 hash = "sha256-g1BjqzSVauDrzxIqqU2kLl6RFs6/oe2VthtndbnJQCc=";
14 nativeBuildInputs = [ perl cmake gfortran ];
22 "-DBUILD_SHARED_LIBS=ON"
23 # Force compilation of higher derivatives
33 description = "Library of exchange-correlation functionals for density-functional theory";
34 homepage = "https://www.tddft.org/programs/Libxc/";
35 license = licenses.mpl20;
36 platforms = platforms.unix;
37 maintainers = with maintainers; [ markuskowa ];