2018-01-02 20:15:19 +01:00
|
|
|
{ stdenv, fetchFromGitHub, libX11 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "xkbmon";
|
2019-01-17 13:15:04 +01:00
|
|
|
version = "0.3";
|
2018-01-02 20:15:19 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xkbmon";
|
|
|
|
repo = "xkbmon";
|
|
|
|
rev = version;
|
2019-01-17 13:15:04 +01:00
|
|
|
sha256 = "03v8f6fijgwagjphyj8w7lgh5hlc8jk0j2n45n7fm0xwy82cxxx9";
|
2018-01-02 20:15:19 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 ];
|
|
|
|
|
|
|
|
installPhase = "install -D -t $out/bin xkbmon";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/xkbmon/xkbmon";
|
2018-01-02 20:15:19 +01:00
|
|
|
description = "Command-line keyboard layout monitor for X11";
|
2019-01-02 12:49:41 +01:00
|
|
|
license = licenses.mit;
|
2018-01-02 20:15:19 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|