2017-10-07 13:26:25 +03:00
|
|
|
{ stdenv, fetchFromGitHub, asciidoc, libxcb, xcbutil, xcbutilkeysyms
|
|
|
|
, xcbutilwm
|
|
|
|
}:
|
2014-08-10 01:31:05 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-04-25 18:27:05 +03:00
|
|
|
name = "sxhkd-${version}";
|
2017-10-07 13:26:25 +03:00
|
|
|
version = "0.5.8";
|
2015-04-25 18:27:05 +03:00
|
|
|
|
2017-10-07 13:26:25 +03:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "baskerville";
|
|
|
|
repo = "sxhkd";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0vnm0d2ckijsp8kc2v8jz4raamb487vg62v58v01a3rb9gzzgl06";
|
2014-08-10 01:31:05 +04:00
|
|
|
};
|
|
|
|
|
2015-04-25 18:27:05 +03:00
|
|
|
buildInputs = [ asciidoc libxcb xcbutil xcbutilkeysyms xcbutilwm ];
|
2014-08-10 01:31:05 +04:00
|
|
|
|
2017-10-07 13:26:25 +03:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2014-08-10 01:31:05 +04:00
|
|
|
|
2017-10-07 13:26:25 +03:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-10 01:31:05 +04:00
|
|
|
description = "Simple X hotkey daemon";
|
2017-10-07 13:26:25 +03:00
|
|
|
homepage = "https://github.com/baskerville/sxhkd";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ vyp ];
|
|
|
|
platforms = platforms.linux;
|
2014-08-10 01:31:05 +04:00
|
|
|
};
|
|
|
|
}
|