mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
octopus: 7.2 -> 8.1 (libxc 3.0.1 -> 4.2.3) (#43484)
This commit is contained in:
parent
e9585e234b
commit
7f1bcb1ebf
|
@ -1,9 +1,9 @@
|
|||
{ stdenv, fetchurl, symlinkJoin, gfortran, perl, procps
|
||||
, libyaml, libxc, fftw, openblas, gsl
|
||||
, libyaml, libxc, fftw, openblas, gsl, netcdf, arpack
|
||||
}:
|
||||
|
||||
let
|
||||
version = "7.3";
|
||||
version = "8.1";
|
||||
fftwAll = symlinkJoin { name ="ftw-dev-out"; paths = [ fftw.dev fftw.out ]; };
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
|
@ -11,11 +11,11 @@ in stdenv.mkDerivation {
|
|||
|
||||
src = fetchurl {
|
||||
url = "http://www.tddft.org/programs/octopus/down.php?file=${version}/octopus-${version}.tar.gz";
|
||||
sha256 = "0hnpqjjxdxh2ggf6ckrsy4hs9iglnazscb4siczddvmysi4kv15d";
|
||||
sha256 = "0rxwvcp22364nnhwhqlr38w4rwv1yl60snxi2f8nqdflx1143n10";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ perl procps fftw.dev ];
|
||||
buildInputs = [ libyaml gfortran libxc openblas gsl fftw.out ];
|
||||
buildInputs = [ libyaml gfortran libxc openblas gsl fftw.out netcdf arpack ];
|
||||
|
||||
configureFlags = ''
|
||||
--with-yaml-prefix=${libyaml}
|
||||
|
@ -37,6 +37,8 @@ in stdenv.mkDerivation {
|
|||
patchShebangs testsuite/oct-run_testsuite.sh
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Real-space time dependent density-functional theory code";
|
||||
homepage = http://octopus-code.org;
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
{ stdenv, fetchurl, gfortran, perl }:
|
||||
|
||||
let
|
||||
version = "3.0.1";
|
||||
version = "4.2.3";
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
name = "libxc-${version}";
|
||||
src = fetchurl {
|
||||
url = "http://www.tddft.org/programs/octopus/down.php?file=libxc/${version}/libxc-${version}.tar.gz";
|
||||
sha256 = "1xyac89yx03vm86rvk07ps1d39xss3amw46a1k53mv30mgr94rl3";
|
||||
sha256 = "0mj26jga0nj76blf2rp9cmgf0v0yhsp7xrg92zgih7fjlydrxr02";
|
||||
};
|
||||
|
||||
buildInputs = [ gfortran ];
|
||||
|
|
Loading…
Reference in a new issue