mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge pull request #72252 from WilliButz/add-ydotool
ydotool: init at 0.1.8
This commit is contained in:
commit
e47da725fe
23
pkgs/development/libraries/libevdevplus/default.nix
Normal file
23
pkgs/development/libraries/libevdevplus/default.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "libevdevplus";
|
||||||
|
version = "2019-10-01";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "YukiWorkshop";
|
||||||
|
repo = "libevdevPlus";
|
||||||
|
rev = "e863df2ade43e2c7d7748cc33ca27fb3eed325ca";
|
||||||
|
sha256 = "18z6pn4j7fhmwwh0q22ip5nn7sc1hfgwvkdzqhkja60i8cw2cvvj";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
inherit (src.meta) homepage;
|
||||||
|
description = "Easy-to-use event device library in C++";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ willibutz ];
|
||||||
|
platforms = with platforms; linux;
|
||||||
|
};
|
||||||
|
}
|
23
pkgs/development/libraries/libuinputplus/default.nix
Normal file
23
pkgs/development/libraries/libuinputplus/default.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "libuinputplus";
|
||||||
|
version = "2019-10-01";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "YukiWorkshop";
|
||||||
|
repo = "libuInputPlus";
|
||||||
|
rev = "962f180b4cc670e1f5cc73c2e4d5d196ae52d630";
|
||||||
|
sha256 = "0jy5i7bmjad7hw1qcyjl4swqribp2027s9g3609zwj7lj8z5x0bg";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
inherit (src.meta) homepage;
|
||||||
|
description = "Easy-to-use uinput library in C++";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ willibutz ];
|
||||||
|
platforms = with platforms; linux;
|
||||||
|
};
|
||||||
|
}
|
33
pkgs/tools/wayland/ydotool/default.nix
Normal file
33
pkgs/tools/wayland/ydotool/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
@ -4598,6 +4598,8 @@ in
|
|||||||
|
|
||||||
libevdev = callPackage ../development/libraries/libevdev { };
|
libevdev = callPackage ../development/libraries/libevdev { };
|
||||||
|
|
||||||
|
libevdevplus = callPackage ../development/libraries/libevdevplus { };
|
||||||
|
|
||||||
libfann = callPackage ../development/libraries/libfann { };
|
libfann = callPackage ../development/libraries/libfann { };
|
||||||
|
|
||||||
libfsm = callPackage ../development/libraries/libfsm { };
|
libfsm = callPackage ../development/libraries/libfsm { };
|
||||||
@ -12611,6 +12613,8 @@ in
|
|||||||
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
libuinputplus = callPackage ../development/libraries/libuinputplus { };
|
||||||
|
|
||||||
libunistring = callPackage ../development/libraries/libunistring { };
|
libunistring = callPackage ../development/libraries/libunistring { };
|
||||||
|
|
||||||
libupnp = callPackage ../development/libraries/pupnp { };
|
libupnp = callPackage ../development/libraries/pupnp { };
|
||||||
@ -14372,6 +14376,8 @@ in
|
|||||||
|
|
||||||
yder = callPackage ../development/libraries/yder { };
|
yder = callPackage ../development/libraries/yder { };
|
||||||
|
|
||||||
|
ydotool = callPackage ../tools/wayland/ydotool { };
|
||||||
|
|
||||||
yojimbo = callPackage ../development/libraries/yojimbo { };
|
yojimbo = callPackage ../development/libraries/yojimbo { };
|
||||||
|
|
||||||
yubioath-desktop = libsForQt5.callPackage ../applications/misc/yubioath-desktop { };
|
yubioath-desktop = libsForQt5.callPackage ../applications/misc/yubioath-desktop { };
|
||||||
|
Loading…
Reference in New Issue
Block a user