From 51a620d09ea38edb3f096f51ffb0759e55485ad7 Mon Sep 17 00:00:00 2001 From: SchweGELBin Date: Mon, 24 Nov 2025 19:40:33 +0100 Subject: [PATCH] theclicker: init at 0.2.3 --- pkgs/by-name/th/theclicker/package.nix | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pkgs/by-name/th/theclicker/package.nix diff --git a/pkgs/by-name/th/theclicker/package.nix b/pkgs/by-name/th/theclicker/package.nix new file mode 100644 index 000000000000..a8ab42853fc2 --- /dev/null +++ b/pkgs/by-name/th/theclicker/package.nix @@ -0,0 +1,32 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, + versionCheckHook, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "theclicker"; + version = "0.2.3"; + + src = fetchFromGitHub { + owner = "konkitoman"; + repo = "autoclicker"; + tag = finalAttrs.version; + hash = "sha256-Q5Uwl2SWdat/cHRPf4GVQihn1NwlFKbkpWRFnScnvw0="; + }; + + cargoHash = "sha256-JL/X2s/SnmK88btz/MmB6t8nKqUXks07+tWXc4trfLM="; + + nativeInstallCheckInputs = [ versionCheckHook ]; + doInstallCheck = true; + + meta = { + homepage = "https://github.com/konkitoman/autoclicker"; + description = "A simple autoclicker cli that works on (x11/wayland)"; + maintainers = [ lib.maintainers.SchweGELBin ]; + mainProgram = "theclicker"; + license = lib.licenses.mit; + platforms = lib.platforms.linux; + }; +})