10 stdenv.mkDerivation rec {
14 src = fetchFromGitHub {
18 sha256 = "sha256-HBZ/VMuTLAYpqcIPzQ4JbsMSXsI/sKc14ZFpbVhQF/g=";
21 nativeBuildInputs = [ cmake ];
22 buildInputs = [ blas ];
26 "-DCMAKE_INSTALL_PREFIX=" # ends up double-adding /nix/store/... prefix, this avoids issue
32 checkInputs = [ python3.pkgs.numpy ];
35 description = "General GTO integrals for quantum chemistry";
37 libcint is an open source library for analytical Gaussian integrals.
38 It provides C/Fortran API to evaluate one-electron / two-electron
39 integrals for Cartesian / real-spheric / spinor Gaussian type functions.
41 homepage = "http://wiki.sunqm.net/libcint";
42 downloadPage = "https://github.com/sunqm/libcint";
43 changelog = "https://github.com/sunqm/libcint/blob/master/ChangeLog";
44 license = licenses.bsd2;
45 maintainers = with maintainers; [ drewrisinger ];