Commit d0b935c7 authored by Phillip Seeber's avatar Phillip Seeber
Browse files

multicharge: 0.2.0 -> 0.3.0

parent 7a8cc7db
Loading
Loading
Loading
Loading
+2 −13
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  stdenv,
  lib,
  fetchFromGitHub,
  fetchpatch2,
  gfortran,
  meson,
  ninja,
@@ -18,25 +17,15 @@ assert !blas.isILP64 && !lapack.isILP64;

stdenv.mkDerivation rec {
  pname = "multicharge";
  version = "0.2.0";
  version = "0.3.0";

  src = fetchFromGitHub {
    owner = "grimme-lab";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-oUI5x5/Gd0EZBb1w+0jlJUF9X51FnkHFu8H7KctqXl0=";
    hash = "sha256-W6IqCz9k6kdPxnIIA+eMCrFjf0ELTeK78VvZoyFcZxU=";
  };

  patches = [
    # Fix finding of MKL for Intel 2021 and newer
    # Also fix finding mstore
    # https://github.com/grimme-lab/multicharge/pull/20
    (fetchpatch2 {
      url = "https://github.com/grimme-lab/multicharge/commit/98a11ac524cd2a1bd9e2aeb8f4429adb2d76ee8.patch";
      hash = "sha256-zZ2pcbyaHjN2ZxpMhlqUtIXImrVsLk/8WIcb9IYPgBw=";
    })
  ];

  nativeBuildInputs = [
    gfortran
    meson