add plover-python-dictionary
This commit is contained in:
parent
9f5e0a98df
commit
da44631afc
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