Merge pull request #324723 from natsukium/iodata

python311Packages.iodata: 1.0.0a2 -> 1.0.0a4

authored by OTABI Tomoya and committed by GitHub 17ed894f 169de9a9

+18 -11
+18 -11
pkgs/development/python-modules/iodata/default.nix
··· 2 2 buildPythonPackage, 3 3 lib, 4 4 fetchFromGitHub, 5 + setuptools, 6 + setuptools-scm, 5 7 numpy, 6 8 scipy, 7 9 attrs, 8 - cython, 9 - nose, 10 + pytest-xdist, 11 + pytestCheckHook, 10 12 }: 11 13 12 14 buildPythonPackage rec { 13 15 pname = "iodata"; 14 - version = "1.0.0a2"; 15 - format = "setuptools"; 16 + version = "1.0.0a4"; 17 + pyproject = true; 16 18 17 19 src = fetchFromGitHub { 18 20 owner = "theochem"; 19 21 repo = pname; 20 - rev = version; 21 - hash = "sha256-GFTCYE19Re7WLhV8eU+0i8OMp/Tsms/Xj9DRTcgjcz4="; 22 + rev = "refs/tags/v${version}"; 23 + hash = "sha256-ld6V+/8lg4Du6+mHU5XuXXyMpWwyepXurerScg/bf2Q="; 22 24 }; 23 25 24 - nativeBuildInputs = [ 25 - cython 26 - nose 26 + build-system = [ 27 + setuptools 28 + setuptools-scm 27 29 ]; 28 - propagatedBuildInputs = [ 30 + 31 + dependencies = [ 29 32 numpy 30 33 scipy 31 34 attrs 32 35 ]; 33 36 34 37 pythonImportsCheck = [ "iodata" ]; 35 - doCheck = false; # Requires roberto or nose and a lenghtly setup to find the cython modules 38 + 39 + nativeCheckInputs = [ 40 + pytest-xdist 41 + pytestCheckHook 42 + ]; 36 43 37 44 meta = with lib; { 38 45 description = "Python library for reading, writing, and converting computational chemistry file formats and generating input files";