about summary refs log tree commit diff
path: root/pkgs/applications/science/chemistry
diff options
context:
space:
mode:
authormarkuskowa <markus.kowalewski@gmail.com>2018-07-14 00:37:30 +0200
committerxeji <36407913+xeji@users.noreply.github.com>2018-07-14 00:37:30 +0200
commit7f1bcb1ebfeb596e66b9e5fbdc0e618f3df426ca (patch)
tree80af5aba8bd68c813e5bad5264ee0652ad6fcff1 /pkgs/applications/science/chemistry
parente9585e234b680275b2aeed1792a67bb2336a1634 (diff)
downloadnixlib-7f1bcb1ebfeb596e66b9e5fbdc0e618f3df426ca.tar
nixlib-7f1bcb1ebfeb596e66b9e5fbdc0e618f3df426ca.tar.gz
nixlib-7f1bcb1ebfeb596e66b9e5fbdc0e618f3df426ca.tar.bz2
nixlib-7f1bcb1ebfeb596e66b9e5fbdc0e618f3df426ca.tar.lz
nixlib-7f1bcb1ebfeb596e66b9e5fbdc0e618f3df426ca.tar.xz
nixlib-7f1bcb1ebfeb596e66b9e5fbdc0e618f3df426ca.tar.zst
nixlib-7f1bcb1ebfeb596e66b9e5fbdc0e618f3df426ca.zip
octopus: 7.2 -> 8.1 (libxc 3.0.1 -> 4.2.3) (#43484)
Diffstat (limited to 'pkgs/applications/science/chemistry')
-rw-r--r--pkgs/applications/science/chemistry/octopus/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/applications/science/chemistry/octopus/default.nix b/pkgs/applications/science/chemistry/octopus/default.nix
index bf8ccee4a635..0d8ab0d0e191 100644
--- a/pkgs/applications/science/chemistry/octopus/default.nix
+++ b/pkgs/applications/science/chemistry/octopus/default.nix
@@ -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;