Martin Weinelt ae4a1a485a
treewide: add explicit format attribute for Python packages
If a Python package does not come with either `format` or `pyproject` we
consider it a setuptools build, that calls `setup.py` directly, which is
deprecated.

This change, as a first step, migrates a large chunk of these packages to
set setuptools as their explicit format

This is so we can unify the problem space for the next step of the
migration.
2025-07-02 05:56:47 +02:00

37 lines
748 B
Nix

{
lib,
buildPythonPackage,
appdirs,
biopython,
fetchPypi,
proglog,
}:
buildPythonPackage rec {
pname = "genome_collector";
version = "0.1.6";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "0023ihrz0waxbhq28xh1ymvk51ih882y9psg4glm6s9d1zmqvdph";
};
propagatedBuildInputs = [
appdirs
biopython
proglog
];
# Project hasn't released the tests yet
doCheck = false;
pythonImportsCheck = [ "genome_collector" ];
meta = with lib; {
description = "Genomes and build BLAST/Bowtie indexes in Python";
homepage = "https://github.com/Edinburgh-Genome-Foundry/genome_collector";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}