2024-07-26 07:01:51 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchgit,
|
|
|
|
automake,
|
|
|
|
autoconf,
|
|
|
|
libtool,
|
|
|
|
libX11,
|
|
|
|
libXi,
|
|
|
|
libXtst,
|
|
|
|
pkg-config,
|
|
|
|
xorgproto,
|
|
|
|
}:
|
2014-11-03 20:55:33 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libfakekey";
|
2024-07-26 06:59:04 +00:00
|
|
|
version = "0.3";
|
2014-11-03 20:55:33 +00:00
|
|
|
|
2024-07-26 06:59:04 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.yoctoproject.org/libfakekey";
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
hash = "sha256-QNJlxZ9uNwNgFWm9qRJdPfusx7dXHZajjFH7wDhpgcs=";
|
2014-11-03 20:55:33 +00:00
|
|
|
};
|
|
|
|
|
2024-07-26 06:59:04 +00:00
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
|
2024-07-26 07:01:51 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
automake
|
|
|
|
autoconf
|
|
|
|
pkg-config
|
|
|
|
libtool
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libX11
|
|
|
|
libXi
|
|
|
|
libXtst
|
|
|
|
xorgproto
|
|
|
|
];
|
|
|
|
|
2019-10-30 02:23:29 +00:00
|
|
|
NIX_LDFLAGS = "-lX11";
|
2014-11-03 20:55:33 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2014-11-03 20:55:33 +00:00
|
|
|
description = "X virtual keyboard library";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.yoctoproject.org/tools-resources/projects/matchbox";
|
2014-11-03 20:55:33 +00:00
|
|
|
license = licenses.gpl2;
|
2024-07-24 09:22:12 +00:00
|
|
|
maintainers = [ ];
|
2014-11-03 20:55:33 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|