567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
37 lines
746 B
Nix
37 lines
746 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 = {
|
|
description = "Genomes and build BLAST/Bowtie indexes in Python";
|
|
homepage = "https://github.com/Edinburgh-Genome-Foundry/genome_collector";
|
|
license = with lib.licenses; [ mit ];
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|