depot/third_party/nixpkgs/pkgs/development/tools/build-managers/xmake/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

48 lines
820 B
Nix

{ lib
, stdenv
, fetchurl
, pkg-config
, lua
, readline
, ncurses
, lz4
, tbox
, xmake-core-sv
}:
stdenv.mkDerivation rec {
pname = "xmake";
version = "2.8.5";
src = fetchurl {
url = "https://github.com/xmake-io/xmake/releases/download/v${version}/xmake-v${version}.tar.gz";
hash = "sha256-GcZ747z8valsqHoY7/rDm/zMRD+7N1THu8AVEd7NJK8=";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
lua
lua.pkgs.cjson
readline
ncurses
lz4
tbox
xmake-core-sv
];
strictDeps = true;
configureFlags = [ "--external=y" ];
meta = with lib; {
description = "A cross-platform build utility based on Lua";
homepage = "https://xmake.io";
license = licenses.asl20;
platforms = lua.meta.platforms;
maintainers = with maintainers; [ rewine ];
};
}