2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, numpy
|
2020-06-15 15:56:04 +00:00
|
|
|
, isPy3k
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "biopython";
|
2020-10-07 09:15:18 +00:00
|
|
|
version = "1.78";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-07 09:15:18 +00:00
|
|
|
sha256 = "1ee0a0b6c2376680fea6642d5080baa419fd73df104a62d58a8baf7a8bbe4564";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-06-15 15:56:04 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ numpy ];
|
|
|
|
# Checks try to write to $HOME, which does not work with nix
|
|
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
|
|
description = "Python library for bioinformatics";
|
|
|
|
longDescription = ''
|
|
|
|
Biopython is a set of freely available tools for biological computation
|
|
|
|
written in Python by an international team of developers. It is a
|
|
|
|
distributed collaborative effort to develop Python libraries and
|
|
|
|
applications which address the needs of current and future work in
|
|
|
|
bioinformatics.
|
|
|
|
'';
|
|
|
|
homepage = "https://biopython.org/wiki/Documentation";
|
|
|
|
maintainers = with lib.maintainers; [ luispedro ];
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|