Merge pull request #262338 from sheepforce/toml-f

toml-f: 0.3.1 -> 0.4.1
This commit is contained in:
markuskowa 2023-10-21 19:08:59 +02:00 committed by GitHub
commit fc2a03ca06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 2 deletions

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 = [

View File

@ -8,13 +8,13 @@
stdenv.mkDerivation rec {
pname = "toml-f";
version = "0.3.1";
version = "0.4.1";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
hash = "sha256-8FbnUkeJUP4fiuJCroAVDo6U2M7ZkFLpG2OYrapMYtU=";
hash = "sha256-sCU0uMdcXIA5O964hlK37cOrLTlk1CJeTcWD9FhevOs=";
};
nativeBuildInputs = [ gfortran cmake ];