nixpkgs/pkgs/applications/window-managers/sxhkd/default.nix

23 lines
628 B
Nix
Raw Normal View History

2014-08-09 22:31:05 +01:00
{ stdenv, fetchurl, asciidoc, libxcb, xcbutil, xcbutilkeysyms, xcbutilwm }:
stdenv.mkDerivation rec {
2015-04-25 16:27:05 +01:00
name = "sxhkd-${version}";
2016-04-15 16:37:07 +01:00
version = "0.5.6";
2015-04-25 16:27:05 +01:00
2014-08-09 22:31:05 +01:00
src = fetchurl {
2015-04-25 16:27:05 +01:00
url = "https://github.com/baskerville/sxhkd/archive/${version}.tar.gz";
2016-04-15 16:37:07 +01:00
sha256 = "15grmzpxz5fqlbfg2slj7gb7r6nzkvjmflmbkqx7mlby9pm6wdkj";
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
2015-04-25 16:27:05 +01:00
makeFlags = ''PREFIX=$(out)'';
2014-08-09 22:31:05 +01:00
meta = {
description = "Simple X hotkey daemon";
2015-04-25 16:27:05 +01:00
homepage = http://github.com/baskerville/sxhkd/;
license = stdenv.lib.licenses.bsd2;
2014-08-09 22:31:05 +01:00
platforms = stdenv.lib.platforms.linux;
};
}