aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/science/chemistry/openmolcas/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/applications/science/chemistry/openmolcas/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/applications/science/chemistry/openmolcas/default.nix19
1 files changed, 7 insertions, 12 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/applications/science/chemistry/openmolcas/default.nix b/infra/libkookie/nixpkgs/pkgs/applications/science/chemistry/openmolcas/default.nix
index 0d74e784d772..d432e66a19f1 100644
--- a/infra/libkookie/nixpkgs/pkgs/applications/science/chemistry/openmolcas/default.nix
+++ b/infra/libkookie/nixpkgs/pkgs/applications/science/chemistry/openmolcas/default.nix
@@ -7,7 +7,7 @@
assert blas.implementation == "openblas" && lapack.implementation == "openblas";
let
- version = "19.11";
+ version = "20.10";
gitLabRev = "v${version}";
python = python3.withPackages (ps : with ps; [ six pyparsing ]);
@@ -20,18 +20,13 @@ in stdenv.mkDerivation {
owner = "Molcas";
repo = "OpenMolcas";
rev = gitLabRev;
- sha256 = "1wwqhkyyi7pw5x1ghnp83ir17zl5jsj7phhqxapybyi3bmg0i00q";
+ sha256 = "0xr9plgb0cfmxxqmd3wrhvl0hv2jqqfqzxwzs1jysq2m9cxl314v";
};
- patches = [ (fetchpatch {
- name = "Fix-MPI-INT-size"; # upstream patch, fixes a Fortran compiler error
- url = "https://gitlab.com/Molcas/OpenMolcas/commit/860e3350523f05ab18e49a428febac8a4297b6e4.patch";
- sha256 = "0h96h5ikbi5l6ky41nkxmxfhjiykkiifq7vc2s3fdy1r1siv09sb";
- }) (fetchpatch {
- name = "fix-cisandbox"; # upstream patch, fixes a Fortran compiler error
- url = "https://gitlab.com/Molcas/OpenMolcas/commit/d871590c8ce4689cd94cdbbc618954c65589393d.patch";
- sha256 = "0dgz1w2rkglnis76spai3m51qa72j4bz6ppnk5zmzrr6ql7gwpgg";
- })];
+ patches = [
+ # Required to handle openblas multiple outputs
+ ./openblasPath.patch
+];
nativeBuildInputs = [ perl cmake texlive.combined.scheme-minimal makeWrapper ];
buildInputs = [
@@ -55,7 +50,7 @@ in stdenv.mkDerivation {
"-DTOOLS=ON"
"-DHDF5=ON"
"-DFDE=ON"
- "-DOPENBLASROOT=${openblas}"
+ "-DOPENBLASROOT=${openblas.dev}"
];
GAROOT=globalarrays;