1 { lib, stdenv, fetchFromGitHub, libX11 }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-EWW6L6NojzXodDOET01LMcQT8/1JIMpOD++MCiM3j1Y=";
14 buildInputs = [ libX11 ];
16 installPhase = "install -D -t $out/bin xkbmon";
19 homepage = "https://github.com/xkbmon/xkbmon";
20 description = "Command-line keyboard layout monitor for X11";
21 license = licenses.mit;
22 platforms = platforms.linux;
23 maintainers = [ maintainers.romildo ];
24 mainProgram = "xkbmon";