2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libX11 }:
|
2018-01-02 19:15:19 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "xkbmon";
|
2021-08-23 08:16:43 +00:00
|
|
|
version = "0.4";
|
2018-01-02 19:15:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xkbmon";
|
|
|
|
repo = "xkbmon";
|
|
|
|
rev = version;
|
2021-08-23 08:16:43 +00:00
|
|
|
sha256 = "sha256-EWW6L6NojzXodDOET01LMcQT8/1JIMpOD++MCiM3j1Y=";
|
2018-01-02 19:15:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 ];
|
|
|
|
|
|
|
|
installPhase = "install -D -t $out/bin xkbmon";
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/xkbmon/xkbmon";
|
2018-01-02 19:15:19 +00:00
|
|
|
description = "Command-line keyboard layout monitor for X11";
|
2019-01-02 11:49:41 +00:00
|
|
|
license = licenses.mit;
|
2018-01-02 19:15:19 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|