libxc: init at 2.2.3

This commit is contained in:
Markus Kowalewski 2017-12-30 21:11:12 -08:00 committed by Orivej Desh
parent 0dd6bd214d
commit 2e9af56306
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ stdenv, fetchurl, gfortran, perl }:
let
version = "2.2.3";
in stdenv.mkDerivation {
name = "libxc-${version}";
src = fetchurl {
url = "http://www.tddft.org/programs/octopus/down.php?file=libxc/libxc-${version}.tar.gz";
sha256 = "1rv8vsf7zzw0g7j93rqcipzhk2pj1iq71bpkwf7zxivmgavh0arg";
};
buildInputs = [ gfortran ];
nativeBuildInputs = [ perl ];
preConfigure = ''
patchShebangs ./
'';
configureFlags = [ "--enable-shared" ];
doCheck = true;
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Library of exchange-correlation functionals for density-functional theory";
homepage = http://octopus-code.org/wiki/Libxc;
license = licenses.lgpl3;
platforms = platforms.linux;
maintainer = with maintainers; [ markuskowa ];
};
}

View File

@ -3230,6 +3230,8 @@ with pkgs;
libibverbs = callPackage ../development/libraries/libibverbs { };
libxc = callPackage ../development/libraries/libxc { };
libxcomp = callPackage ../development/libraries/libxcomp { };
libxl = callPackage ../development/libraries/libxl {};