From 64fa24d5ee4859b829b619c2d839ffe7e91b42d1 Mon Sep 17 00:00:00 2001 From: Bojun Ren Date: Fri, 8 Nov 2024 20:00:52 +0800 Subject: [PATCH] xmake: 2.9.5 -> 2.9.6 --- .../tools/build-managers/xmake/default.nix | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/pkgs/development/tools/build-managers/xmake/default.nix b/pkgs/development/tools/build-managers/xmake/default.nix index 073ca4ac017f..537509a83b31 100644 --- a/pkgs/development/tools/build-managers/xmake/default.nix +++ b/pkgs/development/tools/build-managers/xmake/default.nix @@ -4,25 +4,22 @@ fetchurl, fetchpatch, CoreServices, + nix-update-script, }: stdenv.mkDerivation rec { pname = "xmake"; - version = "2.9.5"; + version = "2.9.6"; src = fetchurl { url = "https://github.com/xmake-io/xmake/releases/download/v${version}/xmake-v${version}.tar.gz"; - hash = "sha256-A/61eH4i+rjdQEGew9hKvTWrzZ+KGyTEiMfrVx1nJMg="; + hash = "sha256-R/bvywD5DJigLDlflztNVb3TqP5FJnbc5XtVwFV1loY="; }; - patches = [ - (fetchpatch { - name = "xmake-fix-configure-compatibility.patch"; - url = "https://github.com/xmake-io/xmake/commit/2a1220727a367e753b92131577ab0c2fd974bff8.patch"; - hash = "sha256-xknlyydHvdwqTl975VQogKozT8nAp5+gPZQuRl1yXKE="; - }) - ]; - buildInputs = lib.optional stdenv.hostPlatform.isDarwin CoreServices; + passthru = { + updateScript = nix-update-script { }; + }; + meta = with lib; { description = "Cross-platform build utility based on Lua"; homepage = "https://xmake.io";