diff --git a/pkgs/development/python-modules/plover-python-dictionary/default.nix b/pkgs/development/python-modules/plover-python-dictionary/default.nix new file mode 100644 index 000000000000..e453c61273ef --- /dev/null +++ b/pkgs/development/python-modules/plover-python-dictionary/default.nix @@ -0,0 +1,49 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + wheel, + pytestCheckHook, + plover, +}: + +buildPythonPackage (finalAttrs: { + pname = "plover-python-dictionary"; + version = "1.2.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "opensteno"; + repo = "plover_python_dictionary"; + tag = finalAttrs.version; + hash = "sha256-4li8WjriJdeLbu+JANuVOb9ejBGusHBm+AaLxyy91A0="; + }; + + build-system = [ + setuptools + wheel + ]; + + dependencies = [ + plover + ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "plover_python_dictionary" + ]; + + meta = { + description = "Python dictionaries support for Plover"; + homepage = "https://github.com/opensteno/plover_python_dictionary"; + license = lib.licenses.gpl2Plus; + maintainers = with lib.maintainers; [ + pandapip1 + ShamrockLee + ]; + }; +}) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b6a4203f611b..32dfd8d1d5c0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12674,6 +12674,8 @@ self: super: with self; { plover-modal-dictionary = callPackage ../development/python-modules/plover-modal-dictionary { }; + plover-python-dictionary = callPackage ../development/python-modules/plover-python-dictionary { }; + plover-stroke = callPackage ../development/python-modules/plover-stroke { }; plover_4 = callPackage ../development/python-modules/plover/4.nix {