32 lines
708 B
Nix
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
|
|
];
|
|
};
|
|
}
|