depot/pkgs/by-name/kd/kdotool/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

30 lines
661 B
Nix

{ 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 ];
};
}