2018-12-31 04:40:47 +01:00
|
|
|
{ stdenv, fetchurl, libX11, libXi, libXtst, pkgconfig, xorgproto }:
|
2014-11-03 21:55:33 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libfakekey-${version}";
|
|
|
|
version = "0.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = "https://downloads.yoctoproject.org/releases/matchbox/libfakekey/0.1/${name}.tar.gz";
|
2014-11-03 21:55:33 +01:00
|
|
|
sha256 = "10msplyn535hmzbmbdnx4zc20hkaw6d81if5lzxs82k8sq2mkx9k";
|
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-12-31 04:40:47 +01:00
|
|
|
buildInputs = [ libX11 libXi libXtst xorgproto ];
|
2019-01-04 20:33:50 +01:00
|
|
|
NIX_LDFLAGS = [
|
|
|
|
"-lX11"
|
|
|
|
];
|
2014-11-03 21:55:33 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "X virtual keyboard library";
|
|
|
|
homepage = https://www.yoctoproject.org/tools-resources/projects/matchbox;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|