python3Packages.pyscf: fix build with libxc-6.0.0
This commit is contained in:
parent
ac70b1c269
commit
00b4c3351d
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue