Merge pull request #324723 from natsukium/iodata

python311Packages.iodata: 1.0.0a2 -> 1.0.0a4
This commit is contained in:
OTABI Tomoya 2024-07-05 18:06:16 +09:00 committed by GitHub
commit 17ed894f2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,37 +2,44 @@
buildPythonPackage,
lib,
fetchFromGitHub,
setuptools,
setuptools-scm,
numpy,
scipy,
attrs,
cython,
nose,
pytest-xdist,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "iodata";
version = "1.0.0a2";
format = "setuptools";
version = "1.0.0a4";
pyproject = true;
src = fetchFromGitHub {
owner = "theochem";
repo = pname;
rev = version;
hash = "sha256-GFTCYE19Re7WLhV8eU+0i8OMp/Tsms/Xj9DRTcgjcz4=";
rev = "refs/tags/v${version}";
hash = "sha256-ld6V+/8lg4Du6+mHU5XuXXyMpWwyepXurerScg/bf2Q=";
};
nativeBuildInputs = [
cython
nose
build-system = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [
dependencies = [
numpy
scipy
attrs
];
pythonImportsCheck = [ "iodata" ];
doCheck = false; # Requires roberto or nose and a lenghtly setup to find the cython modules
nativeCheckInputs = [
pytest-xdist
pytestCheckHook
];
meta = with lib; {
description = "Python library for reading, writing, and converting computational chemistry file formats and generating input files";