nixpkgs/pkgs/development/python-modules/dendropy/default.nix

35 lines
780 B
Nix
Raw Normal View History

2018-02-01 23:06:17 +00:00
{ lib
, pkgs
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "DendroPy";
2018-06-12 17:46:59 +01:00
version = "4.4.0";
2018-02-01 23:06:17 +00:00
src = fetchPypi {
inherit pname version;
2018-06-12 17:46:59 +01:00
sha256 = "f0a0e2ce78b3ed213d6c1791332d57778b7f63d602430c1548a5d822acf2799c";
2018-02-01 23:06:17 +00:00
};
prePatch = ''
# Test removed/disabled and reported upstream: https://github.com/jeetsukumaran/DendroPy/issues/74
rm -f dendropy/test/test_dataio_nexml_reader_tree_list.py
'';
preCheck = ''
# Needed for unicode python tests
export LC_ALL="en_US.UTF-8"
'';
checkInputs = [ pkgs.glibcLocales ];
meta = {
homepage = http://dendropy.org/;
description = "A Python library for phylogenetic computing";
maintainers = with lib.maintainers; [ unode ];
license = lib.licenses.bsd3;
};
}