Merge pull request 'add plover-python-dictionary' (#283) from add-plover-python-dictionary into main
All checks were successful
Hydra plover-plugin-python-dictionary Hydra build #57339 of nix-packages:aarch64-linux-master:plover-plugin-python-dictionary
Hydra emoji-lotte Hydra build #57425 of nix-packages:aarch64-linux-master:emoji-lotte
Hydra lotte-art Hydra build #57427 of nix-packages:aarch64-linux-master:lotte-art
Hydra akkoma Hydra build #57426 of nix-packages:aarch64-linux-master:akkoma
All checks were successful
Hydra plover-plugin-python-dictionary Hydra build #57339 of nix-packages:aarch64-linux-master:plover-plugin-python-dictionary
Hydra emoji-lotte Hydra build #57425 of nix-packages:aarch64-linux-master:emoji-lotte
Hydra lotte-art Hydra build #57427 of nix-packages:aarch64-linux-master:lotte-art
Hydra akkoma Hydra build #57426 of nix-packages:aarch64-linux-master:akkoma
Reviewed-on: #283
This commit is contained in:
commit
e0cce4f8c4
4 changed files with 31 additions and 0 deletions
|
@ -73,6 +73,7 @@ in
|
|||
wordpress-themes
|
||||
kubo
|
||||
fcitx5
|
||||
plover-plugin-python-dictionary
|
||||
;
|
||||
}
|
||||
// (
|
||||
|
|
|
@ -117,6 +117,7 @@
|
|||
hydra
|
||||
hydra-unstable
|
||||
fcitx5
|
||||
plover-plugin-python-dictionary
|
||||
;
|
||||
}
|
||||
// (
|
||||
|
|
|
@ -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 {};
|
||||
|
|
28
plover/plover-python-dictionary.nix
Normal file
28
plover/plover-python-dictionary.nix
Normal 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"];
|
||||
}
|
Reference in a new issue