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