blob: 2aca36a07da7148949ad035f607a20a99a31a69b (
plain) (
blame)
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
52
53
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, cython
, setuptools
, wheel
, pysam
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "pywfa";
version = "0.5.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "kcleal";
repo = "pywfa";
rev = "refs/tags/v${version}";
hash = "sha256-TeJ7Jq4LR+I1+zeMeBtHZa9dR+CRJJG5sT99tB227P8=";
};
nativeBuildInputs = [
cython
setuptools
wheel
];
nativeCheckInputs = [
pysam
unittestCheckHook
];
preCheck = ''
cd pywfa/tests
'';
pythonImportsCheck = [
"pywfa"
"pywfa.align"
];
meta = with lib; {
description = "Python wrapper for wavefront alignment using WFA2-lib";
homepage = "https://github.com/kcleal/pywfa";
changelog = "https://github.com/kcleal/pywfa/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = with maintainers; [ natsukium ];
};
}
|