xmake: init package

This commit is contained in:
Mateusz Słodkowicz 2023-05-23 20:01:38 +02:00
parent 677493660e
commit 0bdb22eeb3
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
2 changed files with 23 additions and 0 deletions

View File

@ -19,4 +19,6 @@ rec {
polymc = pkgs.qt6Packages.callPackage ./apps/games/polymc {};
xmake = callPackage ./dev/xmake {};
}

View File

@ -0,0 +1,21 @@
{ pkgs, lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "xmake";
version = "v2.7.9";
src = fetchFromGitHub {
owner = "xmake-io";
repo = "xmake";
rev = version;
sha256 = "sha256-Op13Rx+meY6ZN2xvyj/9rNUPmXsHMQoVJSpxZCiRc6A=";
fetchSubmodules = true;
};
meta = with lib; {
description = "A cross-platform build utility based on Lua";
homepage = "https://xmake.io";
license = licenses.asl20;
platforms = platforms.linux;
};
}