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

tblite: toml-f 0.4 compatibility

parent 3e7dae99
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, cmake
, gfortran
, blas
@@ -26,6 +27,14 @@ stdenv.mkDerivation rec {
    hash = "sha256-R7CAFG/x55k5Ieslxeq+DWq1wPip4cI+Yvn1cBbeVNs=";
  };

  patches = [
    # toml-f 0.4 compatibility
    (fetchpatch {
      url = "https://github.com/tblite/tblite/commit/da759fd02b8fbf470a5c6d3df9657cca6b1d0a9a.diff";
      hash = "sha256-VaeA2VyK+Eas432HMSpJ0lXxHBBNGpfkUO1eHeWpYl0=";
    })
  ];

  nativeBuildInputs = [ cmake gfortran ];

  buildInputs = [