tblite: toml-f 0.4 compatibility

This commit is contained in:
Phillip Seeber 2023-10-20 18:47:52 +02:00
parent 3e7dae992b
commit 196341508c

View File

@ -1,6 +1,7 @@
{ 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 = [