2017-12-31 11:13:18 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, numpy
|
2020-06-11 12:57:36 +01:00
|
|
|
, isPy3k
|
2017-12-31 11:13:18 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "biopython";
|
2020-09-28 20:59:19 +01:00
|
|
|
version = "1.78";
|
2017-12-31 11:13:18 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-09-28 20:59:19 +01:00
|
|
|
sha256 = "1ee0a0b6c2376680fea6642d5080baa419fd73df104a62d58a8baf7a8bbe4564";
|
2017-12-31 11:13:18 +00:00
|
|
|
};
|
|
|
|
|
2020-06-11 12:57:36 +01:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2017-12-31 11:13:18 +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.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://biopython.org/wiki/Documentation";
|
2017-12-31 11:13:18 +00:00
|
|
|
maintainers = with lib.maintainers; [ luispedro ];
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
};
|
2018-06-27 21:12:57 +01:00
|
|
|
}
|