anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / khanaa / default.nix
blobd129cf291fe1c3d0dcd52c682be8342ab26beb10
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
6   pythonOlder,
8   unittestCheckHook,
10   setuptools,
13 buildPythonPackage rec {
14   pname = "khanaa";
15   version = "0.1.1";
16   pyproject = true;
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "cakimpei";
22     repo = "khanaa";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-QFvvahVEld3BooINeUYJDahZyfh5xmQNtWRLAOdr6lw=";
25   };
27   build-system = [ setuptools ];
29   patches = [
30     ./001-skip-broken-test.patch
31   ];
33   nativeCheckInputs = [ unittestCheckHook ];
35   unittestFlagsArray = [
36     "-s"
37     "tests"
38   ];
40   pythonImportsCheck = [ "khanaa" ];
42   meta = with lib; {
43     description = "Tool to make spelling Thai more convenient";
44     homepage = "https://github.com/cakimpei/khanaa";
45     changelog = "https://github.com/cakimpei/khanaa/blob/main/CHANGELOG.md";
46     license = licenses.mit;
47     maintainers = with maintainers; [ vizid ];
48   };