kdotool: init at 0.2.1

This commit is contained in:
kotatsuyaki 2024-04-28 11:42:51 +08:00
parent fe4d0e07ea
commit 64cc90ed2f
No known key found for this signature in database
GPG Key ID: 2853556A4593150A
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
dbus
}:
rustPlatform.buildRustPackage rec {
version = "0.2.1";
pname = "kdotool";
src = fetchFromGitHub {
owner = "jinliu";
repo = "kdotool";
rev = "v${version}";
hash = "sha256-ogdZziNV4b3h9LiEyWFrD/I/I4k8Z5rNFTNjQpWBQtg=";
};
cargoHash = "sha256-pL5vLfNWsZi75mI5K/PYVmgHTPCyIKpQY0YU2CJABN8=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ dbus ];
meta = with lib; {
description = "xdotool-like for KDE Wayland";
homepage = "https://github.com/jinliu/kdotool";
license = licenses.asl20;
maintainers = with maintainers; [ kotatsuyaki ];
};
}