nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 791 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 rustPlatform, 5 versionCheckHook, 6}: 7 8rustPlatform.buildRustPackage (finalAttrs: { 9 pname = "theclicker"; 10 version = "0.3.1"; 11 12 src = fetchFromGitHub { 13 owner = "konkitoman"; 14 repo = "autoclicker"; 15 tag = finalAttrs.version; 16 hash = "sha256-iD9v0HY/2Q0oeUmJwyfXNuEsmIJDV2M+dzpJ1z6TaF0="; 17 }; 18 19 cargoHash = "sha256-YdeAG6+p/8MzvqEAyfzGktmnxw7hGvV/gGFg6uMwD5A="; 20 21 nativeInstallCheckInputs = [ versionCheckHook ]; 22 doInstallCheck = true; 23 24 meta = { 25 homepage = "https://github.com/konkitoman/autoclicker"; 26 description = "A simple autoclicker cli that works on (x11/wayland)"; 27 maintainers = [ lib.maintainers.SchweGELBin ]; 28 mainProgram = "theclicker"; 29 license = lib.licenses.mit; 30 platforms = lib.platforms.linux; 31 }; 32})