summary refs log tree commit diff
path: root/pkgs/applications/misc/xkbd/default.nix
blob: ccbb88bd1a8e84768d65e65e4a23c1160b3c95a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv, fetchFromGitHub, freetype, libXrender, libXft, xextproto
, xinput, libXi, libXext, libXtst, libXpm, libX11, xproto, autoreconfHook
}:

stdenv.mkDerivation rec {
  name = "xkbd-${version}";
  version = "0.8.18";

  src = fetchFromGitHub {
    owner = "mahatma-kaganovich";
    repo = "xkbd";
    rev = name;
    sha256 = "05ry6q75jq545kf6p20nhfywaqf2wdkfiyp6iwdpv9jh238hf7m9";
  };

  buildInputs = [
    freetype libXrender libXft libXext libXtst libXpm libX11
    libXi xextproto xinput xproto
  ];

  nativeBuildInputs = [ autoreconfHook ];

  meta = with stdenv.lib; {
    homepage = https://github.com/mahatma-kaganovich/xkbd;
    description = "onscreen soft keyboard for X11";
    license = licenses.gpl2Plus;
    maintainers = [ maintainers.genesis ];
    platforms = platforms.linux;
  };
}