diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libfakekey/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libfakekey/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libfakekey/default.nix b/nixpkgs/pkgs/development/libraries/libfakekey/default.nix new file mode 100644 index 000000000000..3e568759c1bc --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libfakekey/default.nix @@ -0,0 +1,23 @@ +{ lib, stdenv, fetchurl, libX11, libXi, libXtst, pkg-config, xorgproto }: + +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"; + }; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ libX11 libXi libXtst xorgproto ]; + NIX_LDFLAGS = "-lX11"; + + meta = with lib; { + description = "X virtual keyboard library"; + homepage = "https://www.yoctoproject.org/tools-resources/projects/matchbox"; + license = licenses.gpl2; + maintainers = [ maintainers.goibhniu ]; + platforms = platforms.linux; + }; +} |