diff --git a/pkgs/default.nix b/pkgs/default.nix index 59674e1..95b48c3 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -19,4 +19,6 @@ rec { polymc = pkgs.qt6Packages.callPackage ./apps/games/polymc {}; + xmake = callPackage ./dev/xmake {}; + } diff --git a/pkgs/dev/xmake/default.nix b/pkgs/dev/xmake/default.nix new file mode 100644 index 0000000..a103950 --- /dev/null +++ b/pkgs/dev/xmake/default.nix @@ -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; + }; +}