aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander_Kabui2024-02-15 13:59:30 +0300
committerMunyoki Kilyungi2024-02-15 16:56:31 +0300
commite947a1e5c330595eee3a27185e042cf3b73689da (patch)
tree83596a9fe8c738686f6d40a1e5eb520e351b7bf1
parent187b4f441aa45a0e49b71c03716025965091fe68 (diff)
downloadguix-bioinformatics-e947a1e5c330595eee3a27185e042cf3b73689da.tar.gz
gn: javascript: Add javascript-uikit.
* gn/packages/javascript.scm: (javascript-uikit): New package. * gn/packages/javascript.scm: (genenetwork2) [propagated-inputs]:Add javascript-uikit.
-rw-r--r--gn/packages/genenetwork.scm1
-rw-r--r--gn/packages/javascript.scm34
2 files changed, 35 insertions, 0 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm
index 4e3dc21..8d690f2 100644
--- a/gn/packages/genenetwork.scm
+++ b/gn/packages/genenetwork.scm
@@ -271,6 +271,7 @@
javascript-plotly
javascript-typeahead
js-underscore
+ javascript-uikit
js-smart-time-ago
javascript-nouislider
javascript-purescript-genome-browser
diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm
index 81558fe..e24990b 100644
--- a/gn/packages/javascript.scm
+++ b/gn/packages/javascript.scm
@@ -2012,3 +2012,37 @@ vector graphics.")
(description
"Ace is a code editor written in JavaScript. ")
(license license:expat)))
+
+(define-public javascript-uikit
+ (package
+ (name "javascript-uikit")
+ (version "3.7.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/uikit/uikit/releases/download/v"
+ version "/uikit" "-" version ".zip"))
+ (sha256
+ (base32 "1qhhz3iki1nbyffg6qa7x2937708hjr9gf6mkn4v4cdl9j0mgyv0"))))
+ (build-system trivial-build-system)
+ (arguments
+ `(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ (let* ((out (assoc-ref %outputs "out"))
+ (unzip (string-append (assoc-ref %build-inputs "unzip")
+ "/bin/unzip"))
+ (targetdir (string-append out "/share/genenetwork2/javascript/uikit"))
+ (source (assoc-ref %build-inputs "source")))
+ (invoke unzip source)
+ (copy-recursively "." targetdir)))))
+ (native-inputs
+ `(("source" ,source)
+ ("unzip" ,unzip)))
+ (home-page "https://getuikit.com/")
+ (synopsis "UIkit is a lightweight and modular front-end framework
+for developing fast and powerful web interfaces.")
+ (description "UIkit is a lightweight and modular front-end framework
+for developing fast and powerful web interfaces.")
+ (license license:bsd-3)))