Commit 5d8cb800 authored by Emily's avatar Emily
Browse files

ahk_x11: 1.0.4-unstable-2025-01-30 -> 1.0.5-unstable-2025-09-04

parent 886d371c
Loading
Loading
Loading
Loading
+11 −7
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  crystal_1_11,
  crystal,
  copyDesktopItems,
  gtk3,
  libxkbcommon,
@@ -11,6 +11,8 @@
  openbox,
  xvfb-run,
  xdotool,
  nix-update-script,
  versionCheckHook,

  buildDevTarget ? false, # the dev version prints debug info
}:
@@ -18,7 +20,7 @@
# NOTICE: AHK_X11 from this package does not support compiling scripts into portable executables.
let
  pname = "ahk_x11";
  version = "1.0.4-unstable-2025-01-30"; # 1.0.4 cannot build on Crystal 1.12 or below.
  version = "1.0.5-unstable-2025-09-04";

  inherit (xorg)
    libXinerama
@@ -27,9 +29,6 @@ let
    libXi
    ;

  # See upstream README. Crystal 1.11 or below is needed to work around phil294/AHK_X11#89.
  crystal = crystal_1_11;

in
crystal.buildCrystalPackage {
  inherit pname version;
@@ -37,8 +36,8 @@ crystal.buildCrystalPackage {
  src = fetchFromGitHub {
    owner = "phil294";
    repo = "AHK_X11";
    rev = "66eb5208d95f4239822053c7d35f32bc62d57573"; # tag = version;
    hash = "sha256-KzD5ExYPRYgsYO+/hlnoQpBJwokjaK5lYL2kobI2XQ0=";
    rev = "f5375887dec3953c4cb3d78271821645bc3840f2";
    hash = "sha256-GTcbwCVWnC+KP2qLArEUIUMs5S0vpkA4gJHQpWP1TNg=";
    fetchSubmodules = true;
  };

@@ -100,6 +99,11 @@ crystal.buildCrystalPackage {
  # I don't know how to fix it for xvfb and openbox.
  doCheck = false;

  doInstallCheck = true;
  nativeInstallCheckInputs = [ versionCheckHook ];

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "AutoHotkey for X11";
    homepage = "https://phil294.github.io/AHK_X11";
+6 −6
Original line number Diff line number Diff line
@@ -6,17 +6,17 @@
  };
  cron_parser = {
    url = "https://github.com/kostya/cron_parser.git";
    tag = "v0.4.0";
    rev = "v0.4.0";
    sha256 = "17fgg2nvyx99v05l10h6cnxfr7swz8yaxhmnk4l47kg2spi8w90a";
  };
  future = {
    url = "https://github.com/crystal-community/future.cr.git";
    tag = "v1.0.0";
    rev = "v1.0.0";
    sha256 = "1mji2djkrf4vxgs432kgkzxx54ybzk636789k2vsws3sf14l74i8";
  };
  gi-crystal = {
    url = "https://github.com/hugopl/gi-crystal.git";
    tag = "v0.22.1";
    rev = "v0.22.1";
    sha256 = "1bwsr5i6cmvnc72qdnmq4v6grif1hahrc7s6js2ivdrfix72flyg";
  };
  gtk3 = {
@@ -26,7 +26,7 @@
  };
  harfbuzz = {
    url = "https://github.com/hugopl/harfbuzz.cr.git";
    tag = "v0.2.0";
    rev = "v0.2.0";
    sha256 = "06wgqxwyib5416yp53j2iwcbr3bl4jjxb1flm7z103l365par694";
  };
  notify = {
@@ -36,12 +36,12 @@
  };
  pango = {
    url = "https://github.com/hugopl/pango.cr.git";
    tag = "v0.3.1";
    rev = "v0.3.1";
    sha256 = "0xlf127flimnll875mcq92q7xsi975rrgdpcpmnrwllhdhfx9qmv";
  };
  tasker = {
    url = "https://github.com/spider-gazelle/tasker.git";
    tag = "v2.1.4";
    rev = "v2.1.4";
    sha256 = "0254sl279nrw5nz43dz5gm89ah1zrw5bvxfma81navpx5gfg9pyb";
  };
  x11 = {