Skip to content

Instantly share code, notes, and snippets.

@LnL7

LnL7/default.nix Secret

Created March 3, 2018 09:30
Show Gist options
  • Save LnL7/9a3e2bbc2e62041e14e4a00034ede621 to your computer and use it in GitHub Desktop.
Save LnL7/9a3e2bbc2e62041e14e4a00034ede621 to your computer and use it in GitHub Desktop.
{ stdenv, fetchFromGitHub, Carbon }:
stdenv.mkDerivation rec {
name = "skhd-${version}";
version = "0.0.10";
src = fetchFromGitHub {
owner = "koekeishiya";
repo = "skhd";
rev = "v${version}";
sha256 = "0a0r8z9bvb1pzqag7nqa84xm99n0xvg27cw11qcv65snr06bqc9w";
};
buildInputs = [ Carbon ];
makeFlags = [ "BUILD_PATH=$(out)/bin" ];
meta = with stdenv.lib; {
description = "Simple hotkey daemon for macOS";
homepage = https://github.com/koekeishiya/skhd;
platforms = platforms.darwin;
maintainers = with maintainers; [ lnl7 ];
license = licenses.mit;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment