33 lines
638 B
Nix
33 lines
638 B
Nix
{
|
|
fetchurl,
|
|
fetchgit,
|
|
php,
|
|
breakpointHook,
|
|
}:
|
|
php.buildComposerProject2 (finalAttrs: rec {
|
|
pname = "think-gtcm";
|
|
version = "1.0.0";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.b4l.co.th/newedge/think-greaterchiangmai";
|
|
rev = "7c17aa78436538241c09fc7d633904d3c063011e";
|
|
hash = "sha256-GDx0+PmuCXC+UPtsvsocCZQiTPcnOZEzJI17sxrVv7Q=";
|
|
};
|
|
|
|
# unpackPhase = ''
|
|
# runHook preUnpack
|
|
#
|
|
# mkdir "$sourceRoot"
|
|
#
|
|
# cp -R "$src/think.greaterchiangmai.com/*" "$sourceRoot/"
|
|
#
|
|
# runHook postUnpack
|
|
# '';
|
|
|
|
nativeBuildInputs = [ breakpointHook ];
|
|
|
|
composerStrictValidation = false;
|
|
vendorHash = "";
|
|
|
|
})
|