python311Packages.pywfa: init at 0.5.1

This commit is contained in:
natsukium
2023-10-07 01:30:21 +09:00
parent 87828a0e03
commit bd73ee230c
2 changed files with 55 additions and 0 deletions
@@ -0,0 +1,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-oeVXK9uyH4E98tApKrA7dXifQYb41KuDTAZ40XgAaF8=";
};
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 ];
};
}
+2
View File
@@ -11705,6 +11705,8 @@ self: super: with self; {
pywerview = callPackage ../development/python-modules/pywerview { };
pywfa = callPackage ../development/python-modules/pywfa { };
pywilight = callPackage ../development/python-modules/pywilight { };
pywinrm = callPackage ../development/python-modules/pywinrm { };