mob next [ci-skip] [ci skip] [skip ci]

lastFile:pkgs/think-gtcm.nix
This commit is contained in:
2025-11-12 14:17:37 +07:00
parent 22c7555b5b
commit d057cdf6e6
4 changed files with 32 additions and 5 deletions

View File

@@ -1,17 +1,31 @@
{
fetchurl,
fetchgit,
php,
breakpointHook,
}:
php.buildComposerProject2 (finalAttrs: rec {
pname = "think-gtcm";
version = "1.0.0";
src = fetchurl {
src = fetchgit {
url = "https://git.b4l.co.th/newedge/think-greaterchiangmai";
sha256 = "";
rev = "7c17aa78436538241c09fc7d633904d3c063011e";
hash = "sha256-GDx0+PmuCXC+UPtsvsocCZQiTPcnOZEzJI17sxrVv7Q=";
};
composerLock = "${src}/think.greaterchiangmai.com/composer.lock";
unpackPhase = ''
runHook preUnpack
mkdir "$sourceRoot"
cp -R "$src/think.greaterchiangmai.com/*" "$sourceRoot/"
runHook postUnpack
'';
nativeBuildInputs = [ breakpointHook ];
composerStrictValidation = false;
vendorHash = "";