From 90ee9fd1b44ff6f4c3c64779e53fafa3fa565bb2 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 21 Jul 2019 02:34:49 -0500 Subject: gn: Add javascript-qtip2. * gn/packages/javascript.scm (javascript-qtip2): New variable. --- gn/packages/javascript.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm index f50394a..3d1b557 100644 --- a/gn/packages/javascript.scm +++ b/gn/packages/javascript.scm @@ -166,6 +166,37 @@ traditional UI -- similar to controls on map webapps.") (description "Cytoscape.") (license license:expat))) +(define-public javascript-qtip2 + (package + (name "javascript-qtip2") + (version "3.0.3") ; May 11, 2016 + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/qTip2/qTip2.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "06lmmy6mqbfdgbbyjm0v2bl1ifdv03rh6vqnsmmkn1s56kd2qr62")))) + (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/qtip2")) + (source (assoc-ref %build-inputs "source")) + (dist (string-append source "/dist"))) + (copy-recursively dist targetdir))))) + (native-inputs `(("source" ,source))) + (home-page "http://qtip2.com/") + (synopsis "Pretty powerful tooltips") + (description "The second generation of the advanced qTip plugin for the +ever popular jQuery framework.") + (license license:expat))) + (define-public javascript-datatables (package (name "javascript-datatables") -- cgit v1.2.3