Merge pull request #279313 from r-ryantm/auto-update/libcint

libcint: 5.4.0 -> 6.1.0
This commit is contained in:
Weijia Wang 2024-01-20 10:14:10 +01:00 committed by GitHub
commit 2439732496
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,15 +9,19 @@
stdenv.mkDerivation rec {
pname = "libcint";
version = "5.4.0";
version = "6.1.0";
src = fetchFromGitHub {
owner = "sunqm";
repo = "libcint";
rev = "v${version}";
hash = "sha256-U+ZlD/I7RHtdYNbFhAmeU4qREe45dYJDIAC3Bup2tr0=";
hash = "sha256-qcVVp+81S3Y0fxDWA/PWQeFT2g0N6tIHNUaOHSru2GA=";
};
postPatch = ''
sed -i 's/libcint.so/libcint${stdenv.hostPlatform.extensions.sharedLibrary}/g' testsuite/*.py
'';
nativeBuildInputs = [ cmake ];
buildInputs = [ blas ];
cmakeFlags = [
@ -46,5 +50,6 @@ stdenv.mkDerivation rec {
changelog = "https://github.com/sunqm/libcint/blob/master/ChangeLog";
license = licenses.bsd2;
maintainers = with maintainers; [ drewrisinger ];
platforms = platforms.unix;
};
}