43 lines
1.2 KiB
Nix
43 lines
1.2 KiB
Nix
{
|
|
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";
|
|
version = "1.3.4";
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-0GqmWGe5uN2JfnH/XMWrIH5As3xueREBU6nk3gGi3Vw=";
|
|
};
|
|
|
|
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"];
|
|
}
|