summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-08-03 15:55:22 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-08-04 11:23:53 +0200
commit4f65067bde7e886c42a9549eb0e16706b43f8af7 (patch)
treecf460a9a5daee5a8604097c78205de2f2793b0de /gnu
parentc4abc94d2b3106e336573ec4644fb09e2b6c6368 (diff)
downloadpatches-4f65067bde7e886c42a9549eb0e16706b43f8af7.tar
patches-4f65067bde7e886c42a9549eb0e16706b43f8af7.tar.gz
gnu: Add js-selectize.
* gnu/packages/javascript.scm (js-selectize): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/javascript.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index ff964aee94..19021ac5a4 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -276,3 +276,24 @@ detection.")
Javascript library, adding sorting, paging and filtering abilities to plain
HTML tables with minimal effort.")
(license license:expat)))
+
+(define-public js-selectize
+ (package
+ (name "js-selectize")
+ (version "0.12.4")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/selectize/selectize.js/"
+ "archive/v" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0756p49aaz34mw2dx8k1gxf210mngfrri25vkba0j7wihd2af8gn"))))
+ (build-system minify-build-system)
+ (arguments `(#:javascript-files '("src/selectize.js")))
+ (home-page "http://selectize.github.io/selectize.js/")
+ (synopsis "Hybrid widget between a textbox and <select> box")
+ (description "Selectize is the hybrid of a textbox and @code{<select>}
+box. It's jQuery based and it has autocomplete and native-feeling keyboard
+navigation; it is useful for tagging, contact lists, etc.")
+ (license license:asl2.0)))