depot/third_party/nixpkgs/pkgs/development/python-modules/qcelemental/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

49 lines
1,000 B
Nix

{
stdenv,
buildPythonPackage,
lib,
fetchPypi,
poetry-core,
networkx,
numpy,
pint,
pydantic,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "qcelemental";
version = "0.28.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-2pb924jBcB+BKyU2mmoWnTXy1URsN8YuhgSMsPGxaKI=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
networkx
numpy
pint
pydantic
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "qcelemental" ];
meta = with lib; {
broken = stdenv.hostPlatform.isDarwin;
description = "Periodic table, physical constants and molecule parsing for quantum chemistry";
homepage = "https://github.com/MolSSI/QCElemental";
changelog = "https://github.com/MolSSI/QCElemental/blob/v${version}/docs/changelog.rst";
license = licenses.bsd3;
maintainers = with maintainers; [ sheepforce ];
};
}