Merge pull request #58860 from r-ryantm/auto-update/quantum-espresso

quantum-espresso: 6.3 -> 6.4
This commit is contained in:
markuskowa 2019-04-03 15:42:40 +02:00 committed by GitHub
commit e2ce5fd7fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,12 +4,12 @@
}:
stdenv.mkDerivation rec {
version = "6.3";
version = "6.4";
name = "quantum-espresso-${version}";
src = fetchurl {
url = "https://gitlab.com/QEF/q-e/-/archive/qe-${version}/q-e-qe-${version}.tar.gz";
sha256 = "1738z3nhkzcrgnhnfg1r4lipbwvcrcprwhzjbjysnylmzbzwhrs0";
sha256 = "1zjblzf0xzwmhmpjm56xvv8wsv5jmp5a204irzyicmd77p86c4vq";
};
passthru = {
@ -20,12 +20,6 @@ stdenv.mkDerivation rec {
patchShebangs configure
'';
# remove after 6.3 version:
# makefile needs to ignore install directory easier than applying patch
preInstall = ''
printf "\n.PHONY: install\n" >> Makefile
'';
buildInputs = [ fftw openblas gfortran ]
++ (stdenv.lib.optionals (mpi != null) [ mpi ]);