mob next [ci-skip] [ci skip] [skip ci]
lastFile:pkgs/think-backend-gtcm.nix
This commit is contained in:
6
overlays/default.nix
Normal file
6
overlays/default.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ ... }:
|
||||
{
|
||||
flake.overlays = {
|
||||
packagesOverlay = ../pkgs/overlay.nix;
|
||||
};
|
||||
}
|
||||
4
pkgs/overlay.nix
Normal file
4
pkgs/overlay.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
final: prev: {
|
||||
think-gtcm = final.callPackage ./think-gtcm.nix { };
|
||||
think-backend-gtcm = final.callPackage ./think-backend-gtcm.nix { };
|
||||
}
|
||||
1
pkgs/think-backend-gtcm.nix
Normal file
1
pkgs/think-backend-gtcm.nix
Normal file
@@ -0,0 +1 @@
|
||||
{ }
|
||||
18
pkgs/think-gtcm.nix
Normal file
18
pkgs/think-gtcm.nix
Normal 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 = "";
|
||||
|
||||
})
|
||||
Reference in New Issue
Block a user