diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-10-26 22:40:35 +0200 |
---|---|---|
committer | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-10-27 15:08:28 +0200 |
commit | 1947ff02e614467d81f66b1b643e5cf7cf87bfcd (patch) | |
tree | a02257a1f3689a0f5bb878883f48782a66f7f5ac /pkgs/by-name/ph | |
parent | dd83f9de26ff7c0326468b659ea4729fa5cf6262 (diff) |
phel: init at unstable-2023-10-27
Diffstat (limited to 'pkgs/by-name/ph')
-rw-r--r-- | pkgs/by-name/ph/phel/package.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/by-name/ph/phel/package.nix b/pkgs/by-name/ph/phel/package.nix new file mode 100644 index 0000000000000..84fe0583f267c --- /dev/null +++ b/pkgs/by-name/ph/phel/package.nix @@ -0,0 +1,27 @@ +{ lib +, fetchFromGitHub +, php +}: + +php.buildComposerProject (finalAttrs: { + pname = "phel"; + version = "0.11.0-dev"; + + src = fetchFromGitHub { + owner = "phel-lang"; + repo = "phel-lang"; + rev = "83d9d81b6c7daae361c0f1f68462083027b81581"; + hash = "sha256-B2IozL/nJE4C1Gq54/64TJEySC1STroG1poCBzd3j3I="; + }; + + vendorHash = "sha256-83GX/dxHa6w1E34wnJshg7yxlVyRkDT5jmAPCCqPdtA="; + + meta = { + changelog = "https://github.com/phel-lang/phel-lang/releases/tag/v${finalAttrs.version}"; + description = "Phel is a functional programming language that compiles to PHP. A Lisp dialect inspired by Clojure and Janet."; + homepage = "https://github.com/phel-lang/phel-lang"; + license = lib.licenses.mit; + mainProgram = "phel"; + maintainers = with lib.maintainers; [ drupol ]; + }; +}) |