Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / libfakekey / default.nix
blob3e568759c1bcbe9bbf0f9e3d9ba3a92ada6d4d53
1 { lib, stdenv, fetchurl, libX11, libXi, libXtst, pkg-config, xorgproto }:
3 stdenv.mkDerivation rec {
4   pname = "libfakekey";
5   version = "0.1";
7   src = fetchurl {
8     url = "https://downloads.yoctoproject.org/releases/matchbox/libfakekey/0.1/${pname}-${version}.tar.gz";
9     sha256 = "10msplyn535hmzbmbdnx4zc20hkaw6d81if5lzxs82k8sq2mkx9k";
10   };
12   nativeBuildInputs = [ pkg-config ];
13   buildInputs = [ libX11 libXi libXtst xorgproto ];
14   NIX_LDFLAGS = "-lX11";
16   meta = with lib; {
17     description = "X virtual keyboard library";
18     homepage = "https://www.yoctoproject.org/tools-resources/projects/matchbox";
19     license = licenses.gpl2;
20     maintainers = [ maintainers.goibhniu ];
21     platforms = platforms.linux;
22   };