Files
nixpkgs/pkgs/by-name/in/integratorxx/package.nix
2025-09-25 12:08:11 +02:00

40 lines
801 B
Nix

{
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 ];
};
}