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

23 lines
628 B
Nix
Raw Normal View History

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