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";
|
2021-06-18 22:47:09 +01:00
|
|
|
version = "1.79";
|
2017-12-31 11:13:18 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 22:47:09 +01:00
|
|
|
sha256 = "edb07eac99d3b8abd7ba56ff4bedec9263f76dfc3c3f450e7d2e2bcdecf8559b";
|
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
|
|
|
}
|