36 lines
961 B
Nix
36 lines
961 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, numpy
|
|
, isPy3k
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "biopython";
|
|
version = "1.80";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-UoBemviHZ+RQ4t+BE7W8Welk4uinu4A6g1cL27UcDkM=";
|
|
};
|
|
|
|
disabled = !isPy3k;
|
|
|
|
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;
|
|
};
|
|
}
|