ydotool: init at 0.1.8

This commit is contained in:
WilliButz 2019-10-29 14:43:07 +01:00
parent dacc4ac680
commit 5330d56c3b
No known key found for this signature in database
GPG key ID: 92582A10F1179CB2
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ stdenv, fetchFromGitHub, pkgconfig, cmake, boost, libevdevplus, libuinputplus }:
stdenv.mkDerivation rec {
pname = "ydotool";
version = "0.1.8";
src = fetchFromGitHub {
owner = "ReimuNotMoe";
repo = "ydotool";
rev = "v${version}";
sha256 = "0mx3636p0f8pznmwm4rlbwq7wrmjb2ygkf8b3a6ps96a7j1fw39l";
};
# disable static linking
postPatch = ''
substituteInPlace CMakeLists.txt --replace \
"-static" \
""
'';
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [
boost libevdevplus libuinputplus
];
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Generic Linux command-line automation tool";
license = licenses.mit;
maintainers = with maintainers; [ willibutz ];
platforms = with platforms; linux;
};
}

View file

@ -14376,6 +14376,8 @@ in
yder = callPackage ../development/libraries/yder { };
ydotool = callPackage ../tools/wayland/ydotool { };
yojimbo = callPackage ../development/libraries/yojimbo { };
yubioath-desktop = libsForQt5.callPackage ../applications/misc/yubioath-desktop { };