3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/xkbmon/default.nix

26 lines
612 B
Nix
Raw Normal View History

2018-01-02 19:15:19 +00:00
{ stdenv, fetchFromGitHub, libX11 }:
stdenv.mkDerivation rec {
name = "xkbmon-${version}";
version = "0.1";
src = fetchFromGitHub {
owner = "xkbmon";
repo = "xkbmon";
rev = version;
sha256 = "1smyqsd9cpbzqaplm221a8mq0nham6rg6hjsm9g5gph94xmk6d67";
};
buildInputs = [ libX11 ];
installPhase = "install -D -t $out/bin xkbmon";
meta = with stdenv.lib; {
homepage = https://github.com/xkbmon/xkbmon;
description = "Command-line keyboard layout monitor for X11";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}