1{
2 lib,
3 fetchFromGitHub,
4 rustPlatform,
5 pkg-config,
6 dbus,
7}:
8
9rustPlatform.buildRustPackage rec {
10 version = "0.2.2-pre";
11 pname = "kdotool";
12
13 src = fetchFromGitHub {
14 owner = "jinliu";
15 repo = "kdotool";
16 rev = "v${version}";
17 hash = "sha256-qx4bWAFQcoLM/r4aNzmoZdjclw8ccAW8lKLda6ON1aQ=";
18 };
19
20 cargoHash = "sha256-ASR2zMwVCKeEZPYQNoO54J00eZyTn1i6FE0NBCJWSCs=";
21
22 nativeBuildInputs = [ pkg-config ];
23 buildInputs = [ dbus ];
24
25 meta = with lib; {
26 description = "xdotool-like for KDE Wayland";
27 homepage = "https://github.com/jinliu/kdotool";
28 license = licenses.asl20;
29 maintainers = with maintainers; [ kotatsuyaki ];
30 };
31}