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