Unverified Commit e81285a4 authored by K900's avatar K900 Committed by GitHub
Browse files

Merge pull request #307393 from kotatsuyaki/dev/kdotool

kdotool: init at 0.2.1
parents 7f5d1829 64cc90ed
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}