default.nix 669 B

123456789101112131415161718192021222324252627
  1. with import <nixpkgs> {};
  2. with xorg;
  3. stdenv.mkDerivation rec {
  4. name = "sxhkd-${version}";
  5. version = "2017-10-7";
  6. src = fetchFromGitHub {
  7. owner = "baskerville";
  8. repo = "sxhkd";
  9. rev = "18575135809f99f80dbdefa43a840c05682fe8d8";
  10. sha256 = "04llcr6acmgxnq2yb2xjxd4p93fsgsslbai46s380vrccyd954z8";
  11. };
  12. buildInputs = [ asciidoc libxcb xcbutil xcbutilkeysyms xcbutilwm ];
  13. makeFlags = [ "PREFIX=$(out)" ];
  14. meta = with stdenv.lib; {
  15. description = "Simple X hotkey daemon";
  16. homepage = "https://github.com/baskerville/sxhkd";
  17. license = licenses.bsd2;
  18. maintainers = with maintainers; [ vyp ];
  19. platforms = platforms.linux;
  20. };
  21. }