Merge pull request #197603 from markuskowa/fix-pyscf
python3Packages.pyscf: fix build with libxc-6.0.0
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{ buildPythonPackage
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, cmake
|
||||
, blas
|
||||
, libcint
|
||||
@@ -25,6 +26,12 @@ buildPythonPackage rec {
|
||||
hash = "sha256-KMxwyAK00Zc0i76zWTMznfXQCVCt+4HOH8SlwuOCORk=";
|
||||
};
|
||||
|
||||
patches = [ (fetchpatch {
|
||||
name = "libxc-6"; # https://github.com/pyscf/pyscf/pull/1467
|
||||
url = "https://github.com/pyscf/pyscf/commit/ebcfacc90e119cd7f9dcdbf0076a84660349fc79.patch";
|
||||
sha256 = "sha256-O+eDlUKJeThxQcHrMGqxjDfRCmCNP+OCgv/L72jAF/o=";
|
||||
})];
|
||||
|
||||
# setup.py calls Cmake and passes the arguments in CMAKE_CONFIGURE_ARGS to cmake.
|
||||
nativeBuildInputs = [ cmake ];
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
Reference in New Issue
Block a user