2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libX11, libXi, libXtst, pkg-config, xorgproto }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libfakekey";
|
|
|
|
version = "0.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://downloads.yoctoproject.org/releases/matchbox/libfakekey/0.1/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "10msplyn535hmzbmbdnx4zc20hkaw6d81if5lzxs82k8sq2mkx9k";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libX11 libXi libXtst xorgproto ];
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|