diff options
author | Alexander_Kabui | 2023-11-10 16:35:11 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2023-11-13 11:33:57 +0300 |
commit | dab09fb41a2ad47b1ef337a006bf270cbc1672f4 (patch) | |
tree | 38e376ff56a004513f6c37f9657b5c8be906c105 | |
parent | 35f3f75aa945728868a5df1bfe0164cd917e9d4b (diff) | |
download | guix-bioinformatics-dab09fb41a2ad47b1ef337a006bf270cbc1672f4.tar.gz |
gn: javascript: Add javascript-ace
* gn/packages/javascript.scm (javascript-ace): New package.
Reviewed-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r-- | gn/packages/javascript.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm index 05706ce..6471d65 100644 --- a/gn/packages/javascript.scm +++ b/gn/packages/javascript.scm @@ -1976,3 +1976,34 @@ vector graphics.") (description "Add code highlighting to marked.") (license license:expat))) + +(define-public javascript-ace + (package + (name "javascript-ace") + (version "1.31.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ajaxorg/ace-builds.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "08rfyrjfjjgb42x4if5qqfyvv8ag2qmf6vsbs7qrcnzgrac66m35")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let* ((out (assoc-ref %outputs "out")) + (targetdir (string-append out "/share/genenetwork2/javascript/ace")) + (source (assoc-ref %build-inputs "source")) + (dist (string-append source "/src-min-noconflict"))) + (copy-recursively dist targetdir))))) + (native-inputs `(("source" ,source))) + (home-page "https://github.com/ajaxorg/ace-builds") + (synopsis "Ace is a code editor written in JavaScript.") + (description + "Ace is a code editor written in JavaScript. ") + (license license:expat))) |