From 822f9ee8dd574660d1336416a60cceecf7676ff7 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Wed, 14 Aug 2024 15:49:47 +0300 Subject: gn: javascript: Update javascript-ace. * gn/packages/javascript.scm: (javascript-ace): Update License. Apply guix style. Reviewed-by: Munyoki Kilyungi --- gn/packages/javascript.scm | 55 +++++++++++++++++++++++----------------------- 1 file changed, 27 insertions(+), 28 deletions(-) (limited to 'gn') diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm index 7f9f35d..ca1c7cf 100644 --- a/gn/packages/javascript.scm +++ b/gn/packages/javascript.scm @@ -2058,34 +2058,33 @@ vector graphics.") (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))) + (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:bsd-3))) (define-public javascript-uikit (package -- cgit v1.2.3