depot/third_party/nixpkgs/pkgs/development/tools/build-managers/xmake/default.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

32 lines
708 B
Nix

{
lib,
stdenv,
fetchurl,
fetchpatch,
CoreServices,
nix-update-script,
}:
stdenv.mkDerivation rec {
pname = "xmake";
version = "2.9.8";
src = fetchurl {
url = "https://github.com/xmake-io/xmake/releases/download/v${version}/xmake-v${version}.tar.gz";
hash = "sha256-55djaq3wcsmwhR26ObEh6TxznRLXg5jJHxLo7TVdapU=";
};
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";
license = licenses.asl20;
maintainers = with maintainers; [
rewine
rennsax
];
};
}