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

31 lines
784 B
Nix
Raw Normal View History

2023-09-30 13:14:13 +00:00
{
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"];
}