1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "dendropy"; 10 version = "4.5.1"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchFromGitHub { 16 owner = "jeetsukumaran"; 17 repo = pname; 18 rev = "v${version}"; 19 hash = "sha256-FP0+fJkkFtSysPxoHXjyMgF8pPin7aRyzmHe9bH8LlM="; 20 }; 21 22 checkInputs = [ 23 pytestCheckHook 24 ]; 25 26 disabledTests = [ 27 # FileNotFoundError: [Errno 2] No such file or directory: 'paup' 28 "test_basic_split_count_with_incorrect_rootings_raises_error" 29 "test_basic_split_count_with_incorrect_weight_treatment_raises_error" 30 "test_basic_split_counting_under_different_rootings" 31 "test_group1" 32 # AssertionError: 6 != 5 33 "test_by_num_lineages" 34 # AttributeError: module 'collections' has no attribute 'Iterable' 35 "test_findall_multiple" 36 ]; 37 38 pythonImportsCheck = [ 39 "dendropy" 40 ]; 41 42 meta = with lib; { 43 description = "Python library for phylogenetic computing"; 44 homepage = "https://dendropy.org/"; 45 license = licenses.bsd3; 46 maintainers = with maintainers; [ unode ]; 47 }; 48}