Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
700 B
Nix
39 lines
700 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
gfortran,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dkh";
|
|
version = "1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "psi4";
|
|
repo = "dkh";
|
|
rev = "v${version}";
|
|
sha256 = "1wb4qmb9f8rnrwnnw1gdhzx1fmhy628bxfrg56khxy3j5ljxkhck";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gfortran
|
|
cmake
|
|
];
|
|
|
|
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
|
|
|
|
hardeningDisable = [
|
|
"format"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Arbitrary-order scalar-relativistic Douglas-Kroll-Hess module";
|
|
license = licenses.lgpl3Only;
|
|
homepage = "https://github.com/psi4/dkh";
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.sheepforce ];
|
|
};
|
|
}
|