Merge pull request #33232 from markuskowa/libxc-pr

libxc: init at 2.2.3
This commit is contained in:
Orivej Desh 2017-12-31 06:09:10 +00:00 committed by GitHub
commit 5be70c39f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 {};