Commit 81951e6d authored by Phillip Seeber's avatar Phillip Seeber
Browse files

integratorxx: init at 0-unstable-2025-09-09

parent a3207199
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
{
  stdenv,
  lib,
  fetchFromGitHub,
  cmake,
  catch2_3,
}:

stdenv.mkDerivation {
  pname = "integratorxx";
  version = "0-unstable-2025-09-09";

  src = fetchFromGitHub {
    owner = "wavefunction91";
    repo = "IntegratorXX";
    rev = "1369be58d7a3235dac36d75dd964fef058830622";
    hash = "sha256-+ZThFqJ9Z1aTpwoVIbnAZ7VkFVdHxpjpnylYVxtB6jA=";
  };

  nativeBuildInputs = [
    cmake
  ];

  cmakeFlags = [
    (lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
  ];

  checkInputs = [ catch2_3 ];

  doCheck = true;

  meta = {
    description = "Reusable DFT Grids for the Masses";
    homepage = "https://github.com/wavefunction91/IntegratorXX";
    license = lib.licenses.bsd3;
    platforms = lib.platforms.linux;
    maintainers = [ lib.maintainers.sheepforce ];
  };
}