Phorge extensions developed for Recap Time Squad HQ Issue Tracker, available for use as a open-source repo.
issues.recaptime.dev/source/phorge-extensions
phorge
phorge-extensions
phabricator
1{
2 pkgs,
3 lib,
4 config,
5 inputs,
6 ...
7}:
8
9{
10 # https://devenv.sh/packages/
11 packages = with pkgs; [
12 # dev tooling
13 gitFull
14 hadolint
15 shellcheck
16 shfmt
17 github-cli
18 glab
19 ];
20
21 # https://devenv.sh/languages/
22 # languages.rust.enable = true;
23 languages.php = {
24 enable = true;
25 version = "8.3";
26 extensions = [
27 "opcache"
28 "ctype"
29 "curl"
30 "fileinfo"
31 "gd"
32 "iconv"
33 "mbstring"
34 "mysqli"
35 "pdo_mysql"
36 "pcntl"
37 "posix"
38 "sockets"
39 "xml"
40 "xmlwriter"
41 "zip"
42 "ldap"
43 #"pecl-apcu"
44 "bcmath"
45 "tokenizer"
46 "simplexml"
47 "dom"
48 ];
49 };
50
51 # https://devenv.sh/processes/
52 # processes.dev.exec = "${lib.getExe pkgs.watchexec} -n -- ls -la";
53
54 # https://devenv.sh/services/
55 # services.postgres.enable = true;
56
57 # https://devenv.sh/scripts/
58 scripts.hello.exec = ''
59 echo hello from $GREET
60 '';
61
62 # https://devenv.sh/basics/
63 #enterShell = ''
64 # hello # Run scripts directly
65 # git --version # Use packages
66 #'';
67
68 # https://devenv.sh/tasks/
69 # tasks = {
70 # "myproj:setup".exec = "mytool build";
71 # "devenv:enterShell".after = [ "myproj:setup" ];
72 # };
73
74 # https://devenv.sh/tests/
75 #enterTest = ''
76 # echo "Running tests"
77 # git --version | grep --color=auto "${pkgs.git.version}"
78 #'';
79
80 # https://devenv.sh/git-hooks/
81 # git-hooks.hooks.shellcheck.enable = true;
82
83 # See full reference at https://devenv.sh/reference/options/
84}