1 { lib, stdenv, fetchFromGitHub, cmake, scdoc, util-linux }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-maXXGCqB8dkGO8956hsKSwM4HQdYn6z1jBFENQ9sKcA=";
15 nativeBuildInputs = [ cmake scdoc ];
18 substituteInPlace ${placeholder "out"}/lib/systemd/user/ydotool.service \
19 --replace /usr/bin/kill "${util-linux}/bin/kill"
23 homepage = "https://github.com/ReimuNotMoe/ydotool";
24 description = "Generic Linux command-line automation tool";
25 license = licenses.agpl3Plus;
26 maintainers = with maintainers; [ willibutz kraem ];
27 platforms = with platforms; linux;