updates for eww and ydotool

This commit is contained in:
Chris Cochrun 2022-11-19 05:54:20 -06:00
parent f153a71270
commit 25853d63db
19 changed files with 1147 additions and 31 deletions

29
ydotool/default.nix Normal file
View file

@ -0,0 +1,29 @@
{ lib, stdenv, fetchFromGitHub, cmake, scdoc, util-linux }:
stdenv.mkDerivation rec {
pname = "ydotool";
version = "1.0.2";
src = fetchFromGitHub {
owner = "ReimuNotMoe";
repo = "ydotool";
rev = "1d5d227e3a6dc9b70147960e99f17695d9f6804e";
sha256 = "sha256-maXXGCqB8dkGO8956hsKSwM4HQdYn6z1jBFENQ9sKcA=";
};
strictDeps = true;
nativeBuildInputs = [ cmake scdoc ];
postInstall = ''
substituteInPlace ${placeholder "out"}/lib/systemd/user/ydotool.service \
--replace /usr/bin/kill "${util-linux}/bin/kill"
'';
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;
};
}