xmake: 2.9.4 -> 2.9.5
This commit is contained in:
parent
b7a0ca2c5b
commit
e8e566bfa4
@ -1,48 +1,32 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, lua
|
||||
, readline
|
||||
, ncurses
|
||||
, lz4
|
||||
, tbox
|
||||
, xmake-core-sv
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
CoreServices,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xmake";
|
||||
version = "2.9.4";
|
||||
|
||||
version = "2.9.5";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/xmake-io/xmake/releases/download/v${version}/xmake-v${version}.tar.gz";
|
||||
hash = "sha256-deLd4r0qSKMymJuAGuZQd8RS1JH+xRep2yeoHIcTzcU=";
|
||||
hash = "sha256-A/61eH4i+rjdQEGew9hKvTWrzZ+KGyTEiMfrVx1nJMg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "xmake-fix-configure-compatibility.patch";
|
||||
url = "https://github.com/xmake-io/xmake/commit/2a1220727a367e753b92131577ab0c2fd974bff8.patch";
|
||||
hash = "sha256-xknlyydHvdwqTl975VQogKozT8nAp5+gPZQuRl1yXKE=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
lua
|
||||
lua.pkgs.cjson
|
||||
readline
|
||||
ncurses
|
||||
lz4
|
||||
tbox
|
||||
xmake-core-sv
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
configureFlags = [ "--external=y" ];
|
||||
buildInputs = lib.optional stdenv.hostPlatform.isDarwin CoreServices;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cross-platform build utility based on Lua";
|
||||
homepage = "https://xmake.io";
|
||||
license = licenses.asl20;
|
||||
platforms = lua.meta.platforms;
|
||||
maintainers = with maintainers; [ rewine ];
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -18917,7 +18917,7 @@ with pkgs;
|
||||
webdis = callPackage ../development/tools/database/webdis { };
|
||||
|
||||
xmake = callPackage ../development/tools/build-managers/xmake {
|
||||
lua = lua5_4;
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
|
||||
xc3sprog = callPackage ../development/embedded/xc3sprog { };
|
||||
|
Loading…
Reference in New Issue
Block a user