summary refs log tree commit diff
path: root/gnu/packages/javascript.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-12-15 09:55:11 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-12-15 16:13:07 +0100
commit5374d0d89bea12582d01e13a5cb38b7ff63aa0e5 (patch)
tree9fe601d1eaa64feb94520add3c406b11cb709004 /gnu/packages/javascript.scm
parentb3fd9eeb815bc068760b47c9f05030d55004c2a2 (diff)
downloadguix-5374d0d89bea12582d01e13a5cb38b7ff63aa0e5.tar.gz
gnu: Add js-datatables-1.9.
* gnu/packages/javascript.scm (js-datatables-1.9): New variable.

Change-Id: I9b022e12119247c8385ebbcec07f54c4106155df
Diffstat (limited to 'gnu/packages/javascript.scm')
-rw-r--r--gnu/packages/javascript.scm17
1 files changed, 16 insertions, 1 deletions
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index 2c7ff744ea..84d12f6b13 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -1,6 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
-;;; Copyright © 2017, 2019, 2020, 2022 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2017, 2019, 2020, 2022, 2023 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2017, 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2017-2020, 2022, 2023 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
@@ -618,6 +618,21 @@ Javascript library, adding sorting, paging and filtering abilities to plain
 HTML tables with minimal effort.")
     (license license:expat)))
 
+(define-public js-datatables-1.9
+  (package
+    (inherit js-datatables)
+    (name "js-datatables")
+    (version "1.9.4")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://datatables.net/releases/DataTables-"
+                                  version ".zip"))
+              (sha256
+               (base32
+                "0yd6548cbpb4hlpwybjp93b9m084n5rba6v1x5n83y0dvlxcd06g"))))
+    (arguments
+     (list #:javascript-files '(list "media/js/jquery.dataTables.js")))))
+
 (define-public js-requirejs
   (package
     (name "js-requirejs")