aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
authorEfraim Flashner2019-07-21 02:34:49 -0500
committerEfraim Flashner2019-07-21 02:49:00 -0500
commit90ee9fd1b44ff6f4c3c64779e53fafa3fa565bb2 (patch)
tree2c584b8a2f3605732b80fae91d159f21e665b16a /gn/packages
parenta8703d14fbee518a8e7dabf0df8a97f19e69e4f1 (diff)
downloadguix-bioinformatics-90ee9fd1b44ff6f4c3c64779e53fafa3fa565bb2.tar.gz
gn: Add javascript-qtip2.
* gn/packages/javascript.scm (javascript-qtip2): New variable.
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/javascript.scm31
1 files changed, 31 insertions, 0 deletions
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")