Files
nixpkgs/pkgs/development/python-modules/biopython/default.nix
T
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

37 lines
984 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, numpy
, isPy3k
}:
buildPythonPackage rec {
pname = "biopython";
version = "1.81";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-LPOBErbYQVrTnWphGYjNEftfM+sJNGZmqHJjvrqWFOA=";
};
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;
};
}