3ad5ed9484
Diff: https://github.com/gata-bio/affine-gaps/compare/v0.2.3...v0.2.4 Changelog: https://github.com/gata-bio/affine-gaps/releases/tag/v0.2.4
50 lines
920 B
Nix
50 lines
920 B
Nix
{
|
|
biopython,
|
|
buildPythonPackage,
|
|
colorama,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
lib,
|
|
numpy,
|
|
pytest-repeat,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "affine-gaps";
|
|
version = "0.2.4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gata-bio";
|
|
repo = "affine-gaps";
|
|
tag = "v${version}";
|
|
hash = "sha256-WMH2wUqzA196FSe2TpfslQVW0PGwk7lGMRSKyfCG9rg=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [
|
|
colorama
|
|
numpy
|
|
];
|
|
|
|
pythonImportsCheck = [ "affine_gaps" ];
|
|
|
|
nativeCheckInputs = [
|
|
biopython
|
|
pytest-repeat
|
|
pytestCheckHook
|
|
];
|
|
|
|
enabledTestPaths = [ "test.py" ];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/gata-bio/affine-gaps/releases/tag/${src.tag}";
|
|
homepage = "https://github.com/gata-bio/affine-gaps";
|
|
license = lib.licenses.asl20;
|
|
mainProgram = "affine-gaps";
|
|
maintainers = [ lib.maintainers.dotlambda ];
|
|
};
|
|
}
|