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}";
2016-04-15 17:37:07 +02:00
version = "0.5.6";
2015-04-25 17:27:05 +02:00
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";
2016-04-15 17:37:07 +02:00
sha256 = "15grmzpxz5fqlbfg2slj7gb7r6nzkvjmflmbkqx7mlby9pm6wdkj";
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;
};
}