2017-10-07 11:26:25 +01:00
|
|
|
{ stdenv, fetchFromGitHub, asciidoc, libxcb, xcbutil, xcbutilkeysyms
|
|
|
|
, xcbutilwm
|
|
|
|
}:
|
2014-08-09 22:31:05 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "sxhkd";
|
2020-08-31 04:43:58 +01:00
|
|
|
version = "0.6.2";
|
2015-04-25 16:27:05 +01:00
|
|
|
|
2017-10-07 11:26:25 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "baskerville";
|
|
|
|
repo = "sxhkd";
|
|
|
|
rev = version;
|
2020-08-31 04:43:58 +01:00
|
|
|
sha256 = "1winwzdy9yxvxnrv8gqpigl9y0c2px27mnms62bdilp4x6llrs9r";
|
2014-08-09 22:31:05 +01:00
|
|
|
};
|
|
|
|
|
2015-04-25 16:27:05 +01:00
|
|
|
buildInputs = [ asciidoc libxcb xcbutil xcbutilkeysyms xcbutilwm ];
|
2014-08-09 22:31:05 +01:00
|
|
|
|
2017-10-07 11:26:25 +01:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2014-08-09 22:31:05 +01:00
|
|
|
|
2017-10-07 11:26:25 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-09 22:31:05 +01:00
|
|
|
description = "Simple X hotkey daemon";
|
2017-10-07 11:26:25 +01:00
|
|
|
homepage = "https://github.com/baskerville/sxhkd";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ vyp ];
|
|
|
|
platforms = platforms.linux;
|
2014-08-09 22:31:05 +01:00
|
|
|
};
|
|
|
|
}
|