Unverified Commit fc2a03ca authored by markuskowa's avatar markuskowa Committed by GitHub
Browse files

Merge pull request #262338 from sheepforce/toml-f

toml-f: 0.3.1 -> 0.4.1
parents e6ade691 19634150
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 = [
+2 −2
Original line number Diff line number Diff line
@@ -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 ];