python312Packages.dawg2-python: init at 0.9.0

This commit is contained in:
Doron Behar
2025-10-22 11:49:24 +03:00
parent a4d3296243
commit 12f7b1ce3d
2 changed files with 53 additions and 0 deletions
@@ -0,0 +1,51 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
poetry-core,
# dependencies
typing-extensions,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "dawg2-python";
version = "0.9.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pymorphy2-fork";
repo = "DAWG-Python";
tag = version;
hash = "sha256-45k7QmozbMt7qYdDFRSL5JDeEtqdMHBoEXXQkLDoGfE=";
};
build-system = [
poetry-core
];
dependencies = [
typing-extensions
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"dawg_python"
];
meta = {
description = "Pure-python reader for DAWGs created by dawgdic C++ library or DAWG Python extension. Fork of https://github.com/pytries/DAWG-Python";
homepage = "https://github.com/pymorphy2-fork/DAWG-Python";
changelog = "https://github.com/pymorphy2-fork/DAWG-Python/blob/${src.tag}/CHANGES.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ doronbehar ];
};
}
+2
View File
@@ -3450,6 +3450,8 @@ self: super: with self; {
dawg-python = callPackage ../development/python-modules/dawg-python { };
dawg2-python = callPackage ../development/python-modules/dawg2-python { };
dazl = callPackage ../development/python-modules/dazl { };
db-dtypes = callPackage ../development/python-modules/db-dtypes { };