ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / dendropy / default.nix
blob08c794682713316bfa335d64660492e0652d2309
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "dendropy";
10   version = "4.5.1";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "jeetsukumaran";
17     repo = pname;
18     rev = "v${version}";
19     hash = "sha256-FP0+fJkkFtSysPxoHXjyMgF8pPin7aRyzmHe9bH8LlM=";
20   };
22   checkInputs = [
23     pytestCheckHook
24   ];
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   ];
38   pythonImportsCheck = [
39     "dendropy"
40   ];
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   };