-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
python3Packages.plover-lapwing-aio: init at 1.3.4 #347354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
+357
−38
Closed
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
19089ad
python3Packages.rtf-tokenize: init at 1.0.0
Twey 1bff183
python3Packages.plover-stroke: init at 1.1.0
Twey 6390084
plover: 4.0.0.dev10 -> 4.0.0rc2
Twey 1ed5f34
plover: move to pythonPackages
Twey cb217ab
python3Packages.plover: allow for plugins
Twey b2e52d8
python3Packages.plover-stitching: init at 0.1.0
Twey 77bd8f9
python3Packages.plover-dict-commands: init at 0.2.5
Twey b5225ba
python3Packages.plover-last-translation: init at 0.0.2
Twey 37d3a6b
python3Packages.plover-modal-dictionary: init at 0.0.3
Twey 5714f0e
python3Packages.plover-python-dictionary: init at 1.1.0
Twey 76f9bb7
python3Packages.plover-lapwing-aio: init at 1.3.4
Twey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
36 changes: 36 additions & 0 deletions
36
pkgs/development/python-modules/plover-dict-commands/default.nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,36 @@ | ||||||
| { | ||||||
| lib, | ||||||
| fetchPypi, | ||||||
| python3Packages, | ||||||
| plover, | ||||||
| setuptools, | ||||||
| setuptools-scm, | ||||||
| pythonImportsCheckHook, | ||||||
| }: | ||||||
| python3Packages.buildPythonPackage rec { | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| pname = "plover-dict-commands"; | ||||||
| version = "0.2.5"; | ||||||
| pyproject = true; | ||||||
| build-system = [ | ||||||
| setuptools | ||||||
| setuptools-scm | ||||||
| ]; | ||||||
|
|
||||||
| meta = with lib; { | ||||||
| description = "Plugin for enabling, disabling, and changing the priority of dictionaries in Plover"; | ||||||
| maintainers = with maintainers; [ twey ]; | ||||||
| license = licenses.gpl2Plus; | ||||||
| }; | ||||||
|
|
||||||
| src = fetchPypi { | ||||||
| pname = "plover_dict_commands"; | ||||||
| inherit version; | ||||||
| hash = "sha256-ki/M5V106YbQMjZQmkTNyBzFboVYi/x0hkLAXqPyk8Q="; | ||||||
| }; | ||||||
|
|
||||||
| nativeCheckInputs = [ | ||||||
| pythonImportsCheckHook | ||||||
| ]; | ||||||
|
|
||||||
| propagatedBuildInputs = [ plover ]; | ||||||
| } | ||||||
44 changes: 44 additions & 0 deletions
44
pkgs/development/python-modules/plover-lapwing-aio/default.nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| { | ||
| lib, | ||
| fetchPypi, | ||
| python3Packages, | ||
| plover, | ||
| plover-dict-commands, | ||
| plover-last-translation, | ||
| plover-modal-dictionary, | ||
| plover-python-dictionary, | ||
| plover-stitching, | ||
| setuptools, | ||
| pythonImportsCheckHook, | ||
| }: | ||
| python3Packages.buildPythonPackage rec { | ||
| pname = "plover-lapwing-aio"; | ||
| version = "1.3.4"; | ||
| pyproject = true; | ||
| build-system = [ setuptools ]; | ||
|
|
||
| meta = with lib; { | ||
| description = "Automatically installs all the necessary plugins and dictionaries for using Lapwing theory with Plover"; | ||
| maintainers = with maintainers; [ twey ]; | ||
| license = licenses.gpl2Plus; | ||
| }; | ||
|
|
||
| src = fetchPypi { | ||
| pname = "plover_lapwing_aio"; | ||
| inherit version; | ||
| hash = "sha256-0GqmWGe5uN2JfnH/XMWrIH5As3xueREBU6nk3gGi3Vw="; | ||
| }; | ||
|
|
||
| nativeCheckInputs = [ | ||
| pythonImportsCheckHook | ||
| ]; | ||
|
|
||
| propagatedBuildInputs = [ | ||
| plover | ||
| plover-dict-commands | ||
| plover-last-translation | ||
| plover-modal-dictionary | ||
| plover-python-dictionary | ||
| plover-stitching | ||
| ]; | ||
| } |
32 changes: 32 additions & 0 deletions
32
pkgs/development/python-modules/plover-last-translation/default.nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| { | ||
| lib, | ||
| fetchPypi, | ||
| python3Packages, | ||
| plover, | ||
| setuptools, | ||
| pythonImportsCheckHook, | ||
| }: | ||
| python3Packages.buildPythonPackage rec { | ||
| pname = "plover-last-translation"; | ||
| version = "0.0.2"; | ||
| pyproject = true; | ||
| build-system = [ setuptools ]; | ||
|
|
||
| meta = with lib; { | ||
| description = "Macro plugins for Plover to repeat output"; | ||
| maintainers = with maintainers; [ twey ]; | ||
| license = licenses.gpl2Plus; | ||
| }; | ||
|
|
||
| src = fetchPypi { | ||
| pname = "plover_last_translation"; | ||
| inherit version; | ||
| hash = "sha256-lmgjbuwdqZ8eeU4m/d1akFwwj5CmliEaLmXEKAubjdk="; | ||
| }; | ||
|
|
||
| nativeCheckInputs = [ | ||
| pythonImportsCheckHook | ||
| ]; | ||
|
|
||
| propagatedBuildInputs = [ plover ]; | ||
| } |
31 changes: 31 additions & 0 deletions
31
pkgs/development/python-modules/plover-modal-dictionary/default.nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| { | ||
| lib, | ||
| fetchPypi, | ||
| python3Packages, | ||
| plover, | ||
| setuptools, | ||
| pythonImportsCheckHook, | ||
| }: | ||
| python3Packages.buildPythonPackage rec { | ||
| pname = "plover-modal-dictionary"; | ||
| version = "0.0.3"; | ||
| pyproject = true; | ||
| build-system = [ setuptools ]; | ||
|
|
||
| meta = with lib; { | ||
| description = "Modal Dictionaries for Plover"; | ||
| maintainers = with maintainers; [ twey ]; | ||
| license = licenses.gpl2Plus; | ||
| }; | ||
|
|
||
| src = fetchPypi { | ||
| inherit pname version; | ||
| hash = "sha256-qLr5H6ZvPhzG4Wa6dK45iReABO0EvA5+2afp2ctnc1A="; | ||
| }; | ||
|
|
||
| nativeCheckInputs = [ | ||
| pythonImportsCheckHook | ||
| ]; | ||
|
|
||
| propagatedBuildInputs = [ plover ]; | ||
| } |
34 changes: 34 additions & 0 deletions
34
pkgs/development/python-modules/plover-python-dictionary/default.nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| { | ||
| lib, | ||
| fetchPypi, | ||
| python3Packages, | ||
| plover, | ||
| setuptools, | ||
| pytestCheckHook, | ||
| pythonImportsCheckHook, | ||
| }: | ||
| python3Packages.buildPythonPackage rec { | ||
| pname = "plover-python-dictionary"; | ||
| version = "1.1.0"; | ||
| pyproject = true; | ||
| build-system = [ setuptools ]; | ||
|
|
||
| meta = with lib; { | ||
| description = "Add support for Python dictionaries to Plover."; | ||
| maintainers = with maintainers; [ twey ]; | ||
| license = licenses.gpl2Plus; | ||
| }; | ||
|
|
||
| src = fetchPypi { | ||
| pname = "plover_python_dictionary"; | ||
| inherit version; | ||
| hash = "sha256-YlHTmMtKWUadObGbsrsF+PUspCB4Kr+amy57DQ4eCQs="; | ||
| }; | ||
|
|
||
| nativeCheckInputs = [ | ||
| pytestCheckHook | ||
| pythonImportsCheckHook | ||
| ]; | ||
|
|
||
| propagatedBuildInputs = [ plover ]; | ||
| } |
34 changes: 34 additions & 0 deletions
34
pkgs/development/python-modules/plover-stitching/default.nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| { | ||
| lib, | ||
| fetchPypi, | ||
| python3Packages, | ||
| plover, | ||
| setuptools, | ||
| pythonImportsCheckHook, | ||
| }: | ||
| python3Packages.buildPythonPackage rec { | ||
| pname = "plover-stitching"; | ||
| version = "0.1.0"; | ||
| pyproject = true; | ||
| build-system = [ setuptools ]; | ||
|
|
||
| meta = with lib; { | ||
| description = "Write stitched words like T-H-I-S or define stitched sequences like heh-heh-heh"; | ||
| maintainers = with maintainers; [ twey ]; | ||
| license = licenses.gpl2Plus; | ||
| }; | ||
|
|
||
| src = fetchPypi { | ||
| pname = "plover_stitching"; | ||
| inherit version; | ||
| hash = "sha256-08wsVTf89kKattOM0Uj/R/heW9zSX7JQBcza8aJJwxc="; | ||
| }; | ||
|
|
||
| # pytestCheckHook disabled because tests rely on an old Plover | ||
| # testing API | ||
| nativeCheckInputs = [ | ||
| pythonImportsCheckHook | ||
| ]; | ||
|
|
||
| propagatedBuildInputs = [ plover ]; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| { | ||
| lib, | ||
| fetchPypi, | ||
| python3Packages, | ||
| setuptools, | ||
| }: | ||
| python3Packages.buildPythonPackage rec { | ||
| pname = "plover-stroke"; | ||
| version = "1.1.0"; | ||
| pyproject = true; | ||
| build-system = [ setuptools ]; | ||
|
|
||
| meta = with lib; { | ||
| description = "Helper class for working with steno strokes"; | ||
| maintainers = with maintainers; [ twey ]; | ||
| license = licenses.gpl2Plus; | ||
| }; | ||
|
|
||
| src = fetchPypi { | ||
| pname = "plover_stroke"; | ||
| inherit version; | ||
| hash = "sha256-3gOyP0ruZrZfaffU7MQjNoG0NUFQLYa/FP3inqpy0VM="; | ||
| }; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,80 @@ | ||
| { | ||
| stdenv, | ||
| lib, | ||
| fetchFromGitHub, | ||
| wmctrl, | ||
| python3Packages, | ||
| buildPythonPackage, | ||
| pytest, | ||
| mock, | ||
| babel, | ||
| pyqt5, | ||
| xlib, | ||
| pyserial, | ||
| appdirs, | ||
| wcwidth, | ||
| setuptools, | ||
| rtf-tokenize, | ||
| plover-stroke, | ||
| wrapQtAppsHook, | ||
| }: | ||
| let | ||
| plover = python3Packages.buildPythonPackage rec { | ||
| pname = "plover"; | ||
| version = "4.0.0rc2"; | ||
| pyproject = true; | ||
| build-system = [ setuptools ]; | ||
|
|
||
| meta = with lib; { | ||
| broken = stdenv.hostPlatform.isDarwin; | ||
| description = "OpenSteno Plover stenography software"; | ||
| maintainers = with maintainers; [ | ||
| twey | ||
| kovirobi | ||
| ]; | ||
| license = licenses.gpl2; | ||
| }; | ||
|
|
||
| src = fetchFromGitHub { | ||
| owner = "openstenoproject"; | ||
| repo = pname; | ||
| rev = "v${version}"; | ||
| sha256 = "sha256-rmMec/BbvOJ92u8Tmp3Kv2YezzJxB/L8UrDntTDSKj4="; | ||
| }; | ||
|
|
||
| # I'm not sure why we don't find PyQt5 here but there's a similar | ||
| # sed on many of the platforms Plover builds for | ||
| postPatch = "sed -i /PyQt5/d setup.cfg"; | ||
|
|
||
| nativeCheckInputs = [ | ||
| pytest | ||
| mock | ||
| ]; | ||
| nativeBuildInputs = [ wrapQtAppsHook ]; | ||
| propagatedBuildInputs = [ | ||
| babel | ||
| pyqt5 | ||
| xlib | ||
| pyserial | ||
| appdirs | ||
| wcwidth | ||
| setuptools | ||
| rtf-tokenize | ||
| plover-stroke | ||
| ]; | ||
|
|
||
| preFixup = '' | ||
| makeWrapperArgs+=("''${qtWrapperArgs[@]}") | ||
| ''; | ||
| }; | ||
|
|
||
| plugins = lib.attrsets.mapAttrs' (name: value: { | ||
| name = builtins.substring 7 (builtins.stringLength name) name; | ||
| inherit value; | ||
| }) (lib.attrsets.filterAttrs (k: v: lib.strings.hasPrefix "plover-" k) python3Packages); | ||
| in | ||
| plover | ||
| // { | ||
| inherit plugins; | ||
| withPlugins = ps: python3Packages.python.withPackages (_: ps plugins); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| { | ||
| lib, | ||
| fetchPypi, | ||
| python3Packages, | ||
| }: | ||
| python3Packages.buildPythonPackage rec { | ||
| pname = "rtf-tokenize"; | ||
| version = "1.0.0"; | ||
|
|
||
| meta = with lib; { | ||
| description = "A simple RTF tokenizer"; | ||
| maintainers = with maintainers; [ twey ]; | ||
| license = licenses.gpl2Plus; | ||
| }; | ||
|
|
||
| src = fetchPypi { | ||
| pname = "rtf_tokenize"; | ||
| inherit version; | ||
| hash = "sha256-XD3zkNAEeb12N8gjv81v37Id3RuWroFUY95+HtOS1gg="; | ||
| }; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
python-modulesusespython3xx.callPackage. So you should not be passing inpython3Packagesas an arg. Just pass in the python attributes directly.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I appreciate the review but this stack of PRs has been abandoned for so long that it no longer merges and the versions it uses are all hopelessly out of date. It's probably best if work continues on this project in #419593. @Pandapip1, please feel free to take any code from here you find useful — I'll close this stack.