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";