nixpkgs/pkgs/by-name/li/libfakekey/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

51 lines
831 B
Nix
Raw Normal View History

2024-07-26 07:01:51 +00:00
{
lib,
stdenv,
fetchgit,
automake,
autoconf,
libtool,
libX11,
libXi,
libXtst,
pkg-config,
xorgproto,
}:
stdenv.mkDerivation rec {
pname = "libfakekey";
2024-07-26 06:59:04 +00:00
version = "0.3";
2024-07-26 06:59:04 +00:00
src = fetchgit {
url = "https://git.yoctoproject.org/libfakekey";
rev = "refs/tags/${version}";
hash = "sha256-QNJlxZ9uNwNgFWm9qRJdPfusx7dXHZajjFH7wDhpgcs=";
};
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";
meta = with lib; {
description = "X virtual keyboard library";
homepage = "https://www.yoctoproject.org/tools-resources/projects/matchbox";
license = licenses.gpl2;
maintainers = [ ];
platforms = platforms.linux;
};
}