From 067051a84b84847a60fd08245a6934ab7ec6ecd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Thu, 16 Jun 2022 21:31:41 +0100 Subject: [PATCH] add plover-stroke and rtf-tokenize --- misc/plover.nix | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/misc/plover.nix b/misc/plover.nix index e99ccf8..5dc51d7 100644 --- a/misc/plover.nix +++ b/misc/plover.nix @@ -15,6 +15,30 @@ with pkgs; rec { }; propagatedBuildInputs = [plover setuptools]; }; + plover-stroke = with python3Packages; + buildPythonPackage rec { + pname = "plover-stroke"; + version = "1.1.0"; + src = fetchFromGitHub { + owner = "benoit-pierre"; + repo = "plover_plugin_manager"; + rev = "1.1.0"; + sha256 = "sha256-A75OMzmEn0VmDAvmQCp6/7uptxzwWJTwsih3kWlYioA="; + }; + checkInputs = [pytest]; + }; + rtf-tokenize = with python3Packages; + buildPythonPackage rec { + pname = "rtf-tokenize"; + version = "1.0.0"; + src = fetchFromGitHub { + owner = "benoit-pierre"; + repo = "rtf_tokenize"; + rev = "1.0.0"; + sha256 = "sha256-zwD2sRYTY1Kmm/Ag2hps9VRdUyQoi4zKtDPR+F52t9A="; + }; + checkInputs = [pytest]; + }; plover = with python3Packages; qt5.mkDerivationWith buildPythonPackage rec { pname = "plover"; @@ -27,7 +51,7 @@ with pkgs; rec { postPatch = "sed -i /PyQt5/d setup.cfg"; checkInputs = [pytest mock]; - propagatedBuildInputs = [babel pyqt5 xlib pyserial appdirs wcwidth setuptools]; + propagatedBuildInputs = [babel pyqt5 xlib pyserial appdirs wcwidth setuptools plover-stroke rtf-tokenize]; dontWrapQtApps = true;