From e947a1e5c330595eee3a27185e042cf3b73689da Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Thu, 15 Feb 2024 13:59:30 +0300 Subject: gn: javascript: Add javascript-uikit. * gn/packages/javascript.scm: (javascript-uikit): New package. * gn/packages/javascript.scm: (genenetwork2) [propagated-inputs]:Add javascript-uikit. --- gn/packages/genenetwork.scm | 1 + gn/packages/javascript.scm | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) (limited to 'gn') 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))) -- cgit v1.2.3