blob: 8b929bda9070358c80a119f97c840ee8595a7373 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
cython,
setuptools,
wheel,
pysam,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "pywfa";
version = "0.5.1";
pyproject = true;
src = fetchFromGitHub {
owner = "kcleal";
repo = "pywfa";
tag = "v${version}";
hash = "sha256-TeJ7Jq4LR+I1+zeMeBtHZa9dR+CRJJG5sT99tB227P8=";
};
nativeBuildInputs = [
cython
setuptools
wheel
];
nativeCheckInputs = [
pysam
unittestCheckHook
];
preCheck = ''
cd pywfa/tests
'';
pythonImportsCheck = [
"pywfa"
"pywfa.align"
];
meta = {
description = "Python wrapper for wavefront alignment using WFA2-lib";
homepage = "https://github.com/kcleal/pywfa";
changelog = "https://github.com/kcleal/pywfa/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ natsukium ];
};
}
|