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