aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/javascript.scm
diff options
context:
space:
mode:
authorBonfaceKilz2020-06-04 15:47:40 +0300
committerBonfaceKilz2020-06-04 15:47:40 +0300
commit89f8fa2776fcd01ed30baf2f1edf1deec1d2da62 (patch)
tree278be5064b22e8777ff911dec7185a122eb43982 /gn/packages/javascript.scm
parent7ccd0b1ba1e58147ee62c14958fdeb9d4b76c122 (diff)
downloadguix-bioinformatics-89f8fa2776fcd01ed30baf2f1edf1deec1d2da62.tar.gz
gn(javascript): add jquery-cookie as a dep to gn2
Diffstat (limited to 'gn/packages/javascript.scm')
-rw-r--r--gn/packages/javascript.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm
index a4411cf..76ed9e5 100644
--- a/gn/packages/javascript.scm
+++ b/gn/packages/javascript.scm
@@ -1626,3 +1626,33 @@ Popper will automatically put the tooltip in the right place near the button.")
(description
"jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. Whether you're building highly interactive web applications or you just need to add a date picker to a form control, jQuery UI is the perfect choice.")
(license license:expat)))
+
+(define-public javascript-jquery-cookie
+ (package
+ (name "javascript-jquery-cookie")
+ (version "1.3.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/carhartl/jquery-cookie.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0a94jzk83pbsw3wd8pfa3g61yx2najhik0dzqr4nf1rsgmqbqhgc"))))
+ (build-system trivial-build-system)
+ (arguments
+ `(#:modules ((guix build utils))
+ #:builder
+ (let* ((out (assoc-ref %outputs "out"))
+ (targetdir (string-append out "/share/genenetwork2/javascript/jquery-cookie"))
+ (source (assoc-ref %build-inputs "source")))
+ (begin
+ (use-modules (guix build utils))
+ (install-file (string-append source "/jquery.cookie.js")
+ targetdir)))))
+ (native-inputs `(("source" ,source)))
+ (home-page "http://jasonmayes.com/projects/twitterApi/")
+ (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)))