33 lines
698 B
Nix
33 lines
698 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
fetchpatch,
|
|
rustPlatform,
|
|
pkg-config,
|
|
dbus,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
version = "0.2.3";
|
|
pname = "kdotool";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jinliu";
|
|
repo = "kdotool";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-8lN85DPw3FUPS1k0Ktcp8Xf1DAdj6Hd6PqlKmhFCP+o=";
|
|
};
|
|
|
|
cargoHash = "sha256-8WkLgTg+ndMtAh0W0efvRCDEgvhmKBcN0e0Jxn4hgH8=";
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ dbus ];
|
|
|
|
meta = {
|
|
description = "xdotool clone for KDE Wayland";
|
|
homepage = "https://github.com/jinliu/kdotool";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ kotatsuyaki ];
|
|
};
|
|
})
|