Files
nixpkgs/pkgs/development/python-modules/geometric/default.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

45 lines
813 B
Nix

{
buildPythonPackage,
lib,
fetchFromGitHub,
networkx,
numpy,
scipy,
six,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "geometric";
version = "1.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "leeping";
repo = "geomeTRIC";
tag = version;
hash = "sha256-hxNzyuupktUWDzZXXJNsVoC6m/kyE1fbfY5K6LiO+x0=";
};
propagatedBuildInputs = [
networkx
numpy
scipy
six
];
preCheck = ''
export OMP_NUM_THREADS=2
'';
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Geometry optimization code for molecular structures";
mainProgram = "geometric-optimize";
homepage = "https://github.com/leeping/geomeTRIC";
license = [ licenses.bsd3 ];
maintainers = [ maintainers.markuskowa ];
};
}