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

lastFile:pkgs/think-backend-gtcm.nix
This commit is contained in:
2025-11-12 13:05:44 +07:00
parent b541e9ff4c
commit 22c7555b5b
4 changed files with 29 additions and 0 deletions

6
overlays/default.nix Normal file
View File

@@ -0,0 +1,6 @@
{ ... }:
{
flake.overlays = {
packagesOverlay = ../pkgs/overlay.nix;
};
}

4
pkgs/overlay.nix Normal file
View File

@@ -0,0 +1,4 @@
final: prev: {
think-gtcm = final.callPackage ./think-gtcm.nix { };
think-backend-gtcm = final.callPackage ./think-backend-gtcm.nix { };
}

View File

@@ -0,0 +1 @@
{ }

18
pkgs/think-gtcm.nix Normal file
View File

@@ -0,0 +1,18 @@
{
fetchurl,
php,
}:
php.buildComposerProject2 (finalAttrs: rec {
pname = "think-gtcm";
version = "1.0.0";
src = fetchurl {
url = "https://git.b4l.co.th/newedge/think-greaterchiangmai";
sha256 = "";
};
composerLock = "${src}/think.greaterchiangmai.com/composer.lock";
composerStrictValidation = false;
vendorHash = "";
})