Skip to content

Commit

Permalink
kdotool: init at 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kotatsuyaki committed Apr 29, 2024
1 parent fe4d0e0 commit 3943f61
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pkgs/by-name/kd/kdotool/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
dbus
}:

let
pname = "kdotool";
version = "0.2.1";
in rustPlatform.buildRustPackage {
inherit pname version;

src = fetchFromGitHub {
owner = "jinliu";
repo = pname;
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 ];
};
}

0 comments on commit 3943f61

Please sign in to comment.