diff options
author | Quantenzitrone <nix@dev.quantenzitrone.eu> | 2024-05-08 20:22:34 +0200 |
---|---|---|
committer | Quantenzitrone <nix@dev.quantenzitrone.eu> | 2024-05-13 12:20:53 +0200 |
commit | 6722b4ade920b46ff51144e06bffc92f7b8bb1f4 (patch) | |
tree | 59579db8a8e4b96851af0dccdbc272b0af2415b2 /pkgs/tools/wayland | |
parent | aac3aeaf2ff230af121534e26262feb6428214ff (diff) |
ydotool: move to pkgs/by-name, add meta.mainProgram, refactor
Diffstat (limited to 'pkgs/tools/wayland')
-rw-r--r-- | pkgs/tools/wayland/ydotool/default.nix | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/pkgs/tools/wayland/ydotool/default.nix b/pkgs/tools/wayland/ydotool/default.nix deleted file mode 100644 index 42f95735de597..0000000000000 --- a/pkgs/tools/wayland/ydotool/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, cmake, scdoc, util-linux, xorg }: - -stdenv.mkDerivation rec { - pname = "ydotool"; - version = "1.0.4"; - - src = fetchFromGitHub { - owner = "ReimuNotMoe"; - repo = "ydotool"; - rev = "v${version}"; - hash = "sha256-MtanR+cxz6FsbNBngqLE+ITKPZFHmWGsD1mBDk0OVng="; - }; - - postPatch = '' - substituteInPlace Daemon/ydotoold.c \ - --replace "/usr/bin/xinput" "${xorg.xinput}/bin/xinput" - substituteInPlace Daemon/ydotool.service.in \ - --replace "/usr/bin/kill" "${util-linux}/bin/kill" - ''; - - strictDeps = true; - nativeBuildInputs = [ cmake scdoc ]; - - meta = with lib; { - homepage = "https://github.com/ReimuNotMoe/ydotool"; - description = "Generic Linux command-line automation tool"; - license = licenses.agpl3Plus; - maintainers = with maintainers; [ willibutz kraem ]; - platforms = with platforms; linux; - }; -} |