1{ lib
2, buildPythonPackage
3, fetchPypi
4, numpy
5, isPy3k
6}:
7
8buildPythonPackage rec {
9 pname = "biopython";
10 version = "1.79";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "edb07eac99d3b8abd7ba56ff4bedec9263f76dfc3c3f450e7d2e2bcdecf8559b";
15 };
16
17 disabled = !isPy3k;
18
19 propagatedBuildInputs = [ numpy ];
20 # Checks try to write to $HOME, which does not work with nix
21 doCheck = false;
22 meta = {
23 description = "Python library for bioinformatics";
24 longDescription = ''
25 Biopython is a set of freely available tools for biological computation
26 written in Python by an international team of developers. It is a
27 distributed collaborative effort to develop Python libraries and
28 applications which address the needs of current and future work in
29 bioinformatics.
30 '';
31 homepage = "https://biopython.org/wiki/Documentation";
32 maintainers = with lib.maintainers; [ luispedro ];
33 license = lib.licenses.bsd3;
34 };
35}