Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / wunsen / default.nix
blob5fc6ea2d3803ecdc996e39862528587c48692929
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
5 , pythonOlder
7 , unittestCheckHook
9 , hatchling
11 , khanaa
14 buildPythonPackage rec {
15   pname = "wunsen";
16   version = "0.0.3";
17   pyproject = true;
19   disabled = pythonOlder "3.7";
21   src = fetchFromGitHub {
22     owner = "cakimpei";
23     repo = "wunsen";
24     rev = "refs/tags/v${version}";
25     hash = "sha256-lMEhtcWG+S3vAz+Y/qDxhaZslsO0pbs5xUn5QgZNs2U=";
26   };
28   build-system = [
29     hatchling
30   ];
32   dependencies = [
33     khanaa
34   ];
36   nativeCheckInputs = [
37     unittestCheckHook
38   ];
40   unittestFlagsArray = [ "-s" "tests" ];
42   pythonImportsCheck = [ "wunsen" ];
44   meta = with lib;
45     {
46       description = "Transliterate/transcribe other languages into Thai Topics";
47       homepage = "https://github.com/cakimpei/wunsen";
48       changelog = "https://github.com/cakimpei/wunsen/releases/tag/v${version}";
49       license = licenses.mit;
50       maintainers = with maintainers; [ vizid ];
51     };