2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, libX11, libXi, libXtst, pkg-config, xorgproto }:
|
2014-11-03 20:55:33 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libfakekey";
|
2014-11-03 20:55:33 +00:00
|
|
|
version = "0.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://downloads.yoctoproject.org/releases/matchbox/libfakekey/0.1/${pname}-${version}.tar.gz";
|
2014-11-03 20:55:33 +00:00
|
|
|
sha256 = "10msplyn535hmzbmbdnx4zc20hkaw6d81if5lzxs82k8sq2mkx9k";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2018-12-31 03:40:47 +00:00
|
|
|
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 02:11:51 +01:00
|
|
|
homepage = "https://www.yoctoproject.org/tools-resources/projects/matchbox";
|
2014-11-03 20:55:33 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|