mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
dendropy: init at 4.3.0
This commit is contained in:
parent
9a5fe79d07
commit
a6ee80aa18
34
pkgs/development/python-modules/dendropy/default.nix
Normal file
34
pkgs/development/python-modules/dendropy/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ lib
|
||||
, pkgs
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "DendroPy";
|
||||
version = "4.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "bd5b35ce1a1c9253209b7b5f3939ac22beaa70e787f8129149b4f7ffe865d510";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
@ -201,6 +201,8 @@ in {
|
||||
|
||||
bugseverywhere = callPackage ../applications/version-management/bugseverywhere {};
|
||||
|
||||
dendropy = callPackage ../development/python-modules/dendropy { };
|
||||
|
||||
dbf = callPackage ../development/python-modules/dbf { };
|
||||
|
||||
dbfread = callPackage ../development/python-modules/dbfread { };
|
||||
|
Loading…
Reference in New Issue
Block a user