2017-12-31 11:13:18 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, numpy
|
2020-06-11 11:57:36 +00:00
|
|
|
, isPy3k
|
2017-12-31 11:13:18 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "biopython";
|
2021-06-18 21:47:09 +00:00
|
|
|
version = "1.79";
|
2017-12-31 11:13:18 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 21:47:09 +00:00
|
|
|
sha256 = "edb07eac99d3b8abd7ba56ff4bedec9263f76dfc3c3f450e7d2e2bcdecf8559b";
|
2017-12-31 11:13:18 +00:00
|
|
|
};
|
|
|
|
|
2020-06-11 11:57:36 +00: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 01:11:51 +00: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 20:12:57 +00:00
|
|
|
}
|