This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
nix-packages/plover/plover-dotool-output.nix
2023-09-30 14:14:13 +01:00

30 lines
784 B
Nix

{
callPackage,
buildPythonPackage,
fetchFromGitHub,
lib,
pythonOlder,
}: let
plover = callPackage ./plover {};
source = builtins.fromJSON (builtins.readFile ./plover-dotool-output.json);
in
buildPythonPackage rec {
pname = "plover_dotool_output";
version = source.date;
src = fetchFromGitHub {
owner = "darkkirb";
repo = "plover-dotool-output";
inherit (source) rev sha256;
};
doCheck = false;
disabled = pythonOlder "3.6";
propagatedBuildInputs = [plover];
meta = with lib; {
description = "Plover output plugin for dotool";
license = licenses.mit;
};
passthru.updateScript = [../scripts/update-git.sh "https://github.com/darkkirb/plover-dotool-output" "plover/plover-dotool-output.json"];
}