2024-04-26 09:26:26 +00:00
|
|
|
{
|
|
|
|
callPackage,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
lib,
|
|
|
|
pythonOlder,
|
|
|
|
}: let
|
|
|
|
plover = callPackage ./plover {};
|
|
|
|
plover-dict-commands = callPackage ./plover-dict-commands.nix {};
|
|
|
|
plover-last-translation = callPackage ./plover-last-translation.nix {};
|
|
|
|
plover-modal-dictionary = callPackage ./plover-modal-dictionary.nix {};
|
|
|
|
plover-python-dictonary = callPackage ./plover-python-dictionary.nix {};
|
|
|
|
plover-stitching = callPackage ./plover-stitching.nix {};
|
|
|
|
in
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "plover_lapwing_aio";
|
2024-05-21 04:40:10 +00:00
|
|
|
version = "1.1.11";
|
2024-04-26 09:26:26 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-05-21 04:40:10 +00:00
|
|
|
sha256 = "sha256-sAKI+jaqi54MmSGHBkeVBR2IbMnCt90nbI0WjwGmiFs=";
|
2024-04-26 09:26:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace setup.cfg --replace dev11 dev10
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
plover
|
|
|
|
plover-dict-commands
|
|
|
|
plover-last-translation
|
|
|
|
plover-modal-dictionary
|
|
|
|
plover-python-dictonary
|
|
|
|
plover-stitching
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Plover plugin to install Lapwing dependencies and extras.";
|
|
|
|
};
|
|
|
|
passthru.updateScript = [../scripts/update-python-libraries "plover/plover-lapwing-aio.nix"];
|
|
|
|
}
|