package laravel backend with nix
This commit is contained in:
parent
72cdd7dc4e
commit
d7f7460601
1 changed files with 25 additions and 0 deletions
25
nix/packages/backend.nix
Normal file
25
nix/packages/backend.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ php84, lib }:
|
||||
let
|
||||
php = php84;
|
||||
in
|
||||
php.buildComposerProject (finalAttrs: {
|
||||
pname = "tide-backend";
|
||||
version = "0.1.0";
|
||||
|
||||
src = lib.cleanSource ../../backend;
|
||||
|
||||
composerNoDev = true;
|
||||
composerNoPlugins = true;
|
||||
composerNoScripts = true;
|
||||
|
||||
vendorHash = "sha256-OYpfX435tPJqiOzQPpWPXCVH1rTeQ74dGuNVyk6+c1A=";
|
||||
|
||||
passthru = {
|
||||
inherit php;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "TIDE Laravel backend";
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue