diff options
author | Alexander Kabui | 2021-02-02 23:36:21 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-02-03 14:01:58 +0300 |
commit | 2b62451fe04e44e7a223293dd1b3772c596f504d (patch) | |
tree | 99c9bd1607c8bce11e738f52e8f12eafaf5296e3 /gn/packages/javascript.scm | |
parent | 8a00f84b33900a454c3b0822f412834ea7df5d8f (diff) | |
download | guix-bioinformatics-2b62451fe04e44e7a223293dd1b3772c596f504d.tar.gz |
gn: javascript: Add javascript-font-awesome
* gn/packages/javascript.scm: (javascript-font-awesome): New package.
* gn/packages/javascript.scm: (genenetwork2) [propagated-inputs]: Add
javascript-font-awesome.
Signed-off-by: BonfaceKilz <me@bonfacemunyoki.com>
Diffstat (limited to 'gn/packages/javascript.scm')
-rw-r--r-- | gn/packages/javascript.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm index e064c21..ce86cdc 100644 --- a/gn/packages/javascript.scm +++ b/gn/packages/javascript.scm @@ -1853,3 +1853,39 @@ Popper will automatically put the tooltip in the right place near the button.") (synopsis "A simple, lightweight jQuery plugin for reading, writing and deleting cookies.") (description "A simple, lightweight jQuery plugin for reading, writing and deleting cookies. No longer maintained, superseded by JS Cookie: https://github.com/js-cookie/js-cookie") (license license:expat))) + + +;; See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32916 on why font-awesome +;; cannot be upstreamed +(define-public javascript-font-awesome + (package + (name "javascript-font-awesome") + (version "5.15.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/FortAwesome/Font-Awesome") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1jin0qlf5lv4l9gj8qc1pp34mxyvyj6gma4qnjqiah1bzcfn635l")))) + (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/fontawesome")) + (source (assoc-ref %build-inputs "source")) + (js-dir (string-append source "/js")) + (css-dir (string-append source "/css"))) + (copy-recursively css-dir (string-append targetdir "/css")) + (copy-recursively js-dir (string-append targetdir "/js")))))) + (native-inputs `(("source" ,source))) + (home-page "https://fontawesome.com/") + (synopsis "Font that contains a rich iconset") + (description "Font Awesome is a full suite of pictographic icons for easy scalable +vector graphics.") + (license license:silofl1.1))) |