[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#27935] [PATCH 5/8] gnu: Add js-datatables.
From: |
Ricardo Wurmus |
Subject: |
[bug#27935] [PATCH 5/8] gnu: Add js-datatables. |
Date: |
Thu, 3 Aug 2017 18:34:35 +0200 |
* gnu/packages/javascript.scm (js-datatables): New variable.
---
gnu/packages/javascript.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index 533e7365a..ff964aee9 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -252,3 +252,27 @@ It works in the browser as well as on the server. It
works with pretty much
any markup, doesn’t depend on any framework and has automatic language
detection.")
(license license:bsd-3)))
+
+(define-public js-datatables
+ (package
+ (name "js-datatables")
+ (version "1.10.15")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://datatables.net/releases/DataTables-"
+ version ".zip"))
+ (sha256
+ (base32
+ "1y9xqyqyz7x1ls3ska71pshl2hpiy3qnw1f7wygyslbhy4ssgf57"))))
+ (build-system minify-build-system)
+ (arguments
+ `(#:javascript-files '("media/js/dataTables.bootstrap.js"
+ "media/js/jquery.dataTables.js")))
+ (native-inputs
+ `(("unzip" ,unzip)))
+ (home-page "https://datatables.net")
+ (synopsis "DataTables plug-in for jQuery")
+ (description "DataTables is a table enhancing plug-in for the jQuery
+Javascript library, adding sorting, paging and filtering abilities to plain
+HTML tables with minimal effort.")
+ (license license:expat)))
--
2.13.3
- [bug#27935] gnu: Add r-shiny., Ricardo Wurmus, 2017/08/03
- [bug#27935] [PATCH 1/8] gnu: Add js-html5shiv., Ricardo Wurmus, 2017/08/03
- [bug#27935] [PATCH 5/8] gnu: Add js-datatables.,
Ricardo Wurmus <=
- [bug#27935] [PATCH 7/8] gnu: Add js-es5-shim., Ricardo Wurmus, 2017/08/03
- [bug#27935] [PATCH 3/8] gnu: Add js-strftime., Ricardo Wurmus, 2017/08/03
- [bug#27935] [PATCH 6/8] gnu: Add js-selectize., Ricardo Wurmus, 2017/08/03
- [bug#27935] [PATCH 2/8] gnu: Add js-json2., Ricardo Wurmus, 2017/08/03
- [bug#27935] [PATCH 4/8] gnu: Add js-highlight., Ricardo Wurmus, 2017/08/03
- [bug#27935] [PATCH 8/8] gnu: Add r-shiny., Ricardo Wurmus, 2017/08/03
- bug#27935: gnu: Add r-shiny., Ricardo Wurmus, 2017/08/04