1{
2 biopython,
3 buildPythonPackage,
4 colorama,
5 fetchFromGitHub,
6 hatchling,
7 lib,
8 numpy,
9 pytest-repeat,
10 pytestCheckHook,
11}:
12
13buildPythonPackage rec {
14 pname = "affine-gaps";
15 version = "0.2.3";
16 pyproject = true;
17
18 src = fetchFromGitHub {
19 owner = "gata-bio";
20 repo = "affine-gaps";
21 tag = "v${version}";
22 hash = "sha256-GP6Ahp1LQYnKp9V7jDEeFsntMC9Qav5kWm+5bSldtyM=";
23 };
24
25 build-system = [ hatchling ];
26
27 dependencies = [
28 colorama
29 numpy
30 ];
31
32 pythonImportsCheck = [ "affine_gaps" ];
33
34 nativeCheckInputs = [
35 biopython
36 pytest-repeat
37 pytestCheckHook
38 ];
39
40 enabledTestPaths = [ "test.py" ];
41
42 meta = {
43 changelog = "https://github.com/gata-bio/affine-gaps/releases/tag/${src.tag}";
44 homepage = "https://github.com/gata-bio/affine-gaps";
45 license = lib.licenses.asl20;
46 mainProgram = "affine-gaps";
47 maintainers = [ lib.maintainers.dotlambda ];
48 };
49}