2024-09-19 14:19:46 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchgit,
|
|
|
|
automake,
|
|
|
|
autoconf,
|
|
|
|
libtool,
|
|
|
|
libX11,
|
|
|
|
libXi,
|
|
|
|
libXtst,
|
|
|
|
pkg-config,
|
|
|
|
xorgproto,
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libfakekey";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.yoctoproject.org/libfakekey";
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
hash = "sha256-QNJlxZ9uNwNgFWm9qRJdPfusx7dXHZajjFH7wDhpgcs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
automake
|
|
|
|
autoconf
|
|
|
|
pkg-config
|
|
|
|
libtool
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libX11
|
|
|
|
libXi
|
|
|
|
libXtst
|
|
|
|
xorgproto
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
NIX_LDFLAGS = "-lX11";
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "X virtual keyboard library";
|
|
|
|
homepage = "https://www.yoctoproject.org/tools-resources/projects/matchbox";
|
|
|
|
license = licenses.gpl2;
|
2024-07-27 06:49:29 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|