lol

Merge pull request #313266 from natsukium/biopandas/update

python311Packages.biopandas: 0.4.1 -> 0.5.0

authored by

Fabian Affolter and committed by
GitHub
0a644a5d 8c11d6ea

+31 -30
+31 -30
pkgs/development/python-modules/biopandas/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchFromGitHub 4 - , looseversion 5 - , mmtf-python 6 - , nose 7 - , numpy 8 - , pandas 9 - , pythonRelaxDepsHook 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + setuptools, 6 + looseversion, 7 + mmtf-python, 8 + numpy, 9 + pandas, 10 + pynose, 11 + pytestCheckHook, 12 + pythonRelaxDepsHook, 10 13 }: 11 14 12 15 buildPythonPackage rec { 13 16 pname = "biopandas"; 14 - version = "0.4.1"; 15 - format = "setuptools"; 17 + version = "0.5.0"; 18 + pyproject = true; 16 19 17 20 src = fetchFromGitHub { 18 21 owner = "BioPandas"; 19 22 repo = "biopandas"; 20 23 rev = "refs/tags/v${version}"; 21 - hash = "sha256-PRdemBo+bB2xJWmF2NylFTfNwEEo67i6XSaeDAFmQ/c="; 24 + hash = "sha256-1c78baBBsDyvAWrNx5mZI/Q75wyXv0DAwAdWm3EwX/I="; 22 25 }; 23 26 24 - nativeBuildInputs = [ 25 - pythonRelaxDepsHook 26 - ]; 27 + nativeBuildInputs = [ pythonRelaxDepsHook ]; 28 + 29 + pythonRelaxDeps = [ "looseversion" ]; 27 30 28 - pythonRelaxDeps = [ 29 - "looseversion" 30 - ]; 31 + build-system = [ setuptools ]; 31 32 32 - propagatedBuildInputs = [ 33 + dependencies = [ 33 34 numpy 34 35 pandas 35 36 mmtf-python ··· 37 38 ]; 38 39 39 40 nativeCheckInputs = [ 40 - nose 41 + pynose 42 + pytestCheckHook 41 43 ]; 42 44 43 - checkPhase = '' 44 - runHook preCheck 45 - 46 - nosetests 45 + disabledTests = [ 46 + # require network access 47 + "test_mmcif_pdb_conversion" 48 + "test_fetch_pdb" 49 + "test_write_mmtf_bp" 50 + "test_write_mmtf" 51 + "test_b_factor_shift" 52 + ]; 47 53 48 - runHook postCheck 49 - ''; 50 - 51 - pythonImportsCheck = [ 52 - "biopandas" 53 - ]; 54 + pythonImportsCheck = [ "biopandas" ]; 54 55 55 56 meta = { 56 57 description = "Working with molecular structures in pandas DataFrames";