git.iko.soy/typeable/nixpkgs
on master help sign in
ydotool: init at 0.1.8
commit5330d56c3b5a9945d024938b2ae7dcad535a2df8 authorWilliButz <wbutz@cyberfnord.de> dateTue 29 Oct 2019, 14:43 (7 years ago) parentdacc4ac
2 files changed+35
pkgs/tools/wayland/ydotool/default.nix+33 pkgs/top-level/all-packages.nix+2
pkgs/tools/wayland/ydotool/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ stdenv, fetchFromGitHub, pkgconfig, cmake, boost, libevdevplus, libuinputplus }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "ydotool";
5+ version = "0.1.8";
6+
7+ src = fetchFromGitHub {
8+ owner = "ReimuNotMoe";
9+ repo = "ydotool";
10+ rev = "v${version}";
11+ sha256 = "0mx3636p0f8pznmwm4rlbwq7wrmjb2ygkf8b3a6ps96a7j1fw39l";
12+ };
13+
14+ # disable static linking
15+ postPatch = ''
16+ substituteInPlace CMakeLists.txt --replace \
17+ "-static" \
18+ ""
19+ '';
20+
21+ nativeBuildInputs = [ cmake pkgconfig ];
22+ buildInputs = [
23+ boost libevdevplus libuinputplus
24+ ];
25+
26+ meta = with stdenv.lib; {
27+ inherit (src.meta) homepage;
28+ description = "Generic Linux command-line automation tool";
29+ license = licenses.mit;
30+ maintainers = with maintainers; [ willibutz ];
31+ platforms = with platforms; linux;
32+ };
33+}
pkgs/top-level/all-packages.nix+2
@@ -14376,6 +14376,8 @@ in
1437614376
1437714377 yder = callPackage ../development/libraries/yder { };
1437814378
14379+ ydotool = callPackage ../tools/wayland/ydotool { };
14380+
1437914381 yojimbo = callPackage ../development/libraries/yojimbo { };
1438014382
1438114383 yubioath-desktop = libsForQt5.callPackage ../applications/misc/yubioath-desktop { };