add plover-python-dictionary #283

Merged
darkkirb merged 1 commit from add-plover-python-dictionary into main 2023-07-06 19:29:23 +00:00
4 changed files with 31 additions and 0 deletions

View file

@ -73,6 +73,7 @@ in
wordpress-themes
kubo
fcitx5
plover-plugin-python-dictionary
;
}
// (

View file

@ -117,6 +117,7 @@
hydra
hydra-unstable
fcitx5
plover-plugin-python-dictionary
;
}
// (

View file

@ -94,6 +94,7 @@ system: self: super: let
plover-plugin-emoji = self.python3Packages.callPackage ./plover/plover-emoji.nix {};
plover-plugin-tapey-tape = self.python3Packages.callPackage ./plover/plover-tapey-tape.nix {};
plover-plugin-yaml-dictionary = self.python3Packages.callPackage ./plover/plover-yaml-dictionary.nix {};
plover-plugin-python-dictionary = self.python3Packages.callPackage ./plover/plover-python-dictionary.nix {};
plover-plugin-machine-hid = self.python3Packages.callPackage ./plover/plover-machine-hid.nix {};
plover-plugin-rkb1-hid = self.python3Packages.callPackage ./plover/plover-rkb1-hid.nix {};
plover-dict-didoesdigital = self.callPackage ./plover/didoesdigital-dictionary.nix {};

View file

@ -0,0 +1,28 @@
{
callPackage,
buildPythonPackage,
fetchPypi,
lib,
pythonOlder,
}: let
plover = callPackage ./plover {};
in
buildPythonPackage rec {
pname = "plover_python_dictionary";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-YlHTmMtKWUadObGbsrsF+PUspCB4Kr+amy57DQ4eCQs=";
};
doCheck = false;
disabled = pythonOlder "3.6";
propagatedBuildInputs = [plover];
meta = with lib; {
description = "Python dictionary support for Plover.";
license = licenses.gpl3Plus;
};
passthru.updateScript = [../scripts/update-python-libraries "plover/plover-python-dictionary.nix"];
}