mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
libxc: init at 2.2.3
This commit is contained in:
parent
0dd6bd214d
commit
2e9af56306
31
pkgs/development/libraries/libxc/default.nix
Normal file
31
pkgs/development/libraries/libxc/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user