aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
authorAlexanderkabui2020-12-15 10:28:56 +0300
committerBonfaceKilz2020-12-15 10:35:27 +0300
commit9400c210a12e5e9581cbd9a9b92b1741abf28165 (patch)
tree9dc20c03683622a6c4ad3457aebf6edda4e8bfb6 /gn/packages
parent54c43ad0cdde59887d7e42dc09bd2d05a4a7de2d (diff)
downloadguix-bioinformatics-9400c210a12e5e9581cbd9a9b92b1741abf28165.tar.gz
gn: javascript: Use correct datatable-scroller library
* gn/packages/javascript.scm (javascript-datatables-scroller): Update to 2.0.3. [propagated-inputs]: Add javascript-datatables-scroller-style. [synopsis]: Update it. (javascript-datatables-scroller-style): New package. Signed-off-by: BonfaceKilz <bonfacemunyoki@gmail.com>
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/javascript.scm41
1 files changed, 36 insertions, 5 deletions
diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm
index ab56bcf..716617d 100644
--- a/gn/packages/javascript.scm
+++ b/gn/packages/javascript.scm
@@ -365,19 +365,48 @@ Javascript library, adding sorting, paging and filtering abilities to plain HTML
tables with minimal effort.")
(license license:expat)))
+(define-public javascript-datatables-scroller-style
+ (package
+ (name "javascript-datatables-scroller-style")
+ (version "2.0.3") ; Dec 12 , 2020
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/DataTables/Dist-DataTables-Scroller-DataTables.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "17lhgd8c6fxgh1b9rgln9pqljma2gz0whrjsixfd6jmiqn9gpqzk"))))
+ (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/DataTablesExtensions/scrollerStyle/"))
+ (source (assoc-ref %build-inputs "source")))
+ (copy-recursively source targetdir)))))
+ (propagated-inputs `(("javascript-datatables" ,javascript-datatables)))
+ (home-page "https://datatables.net/extensions/scroller/scrollerStyles")
+ (synopsis "This package contains distribution files required to style Scroller extension for DataTables.")
+ (description "Scroller is a virtual rendering plug-in for DataTables which allows large datasets to be drawn on screen very quickly. Virtual rendering means is that only the visible portion of the table is drawn, while the scrolling container gives the visual impression that the whole table is visible, allowing excellent browser performance.")
+ (license license:expat)))
+
(define-public javascript-datatables-scroller
(package
(name "javascript-datatables-scroller")
- (version "2.0.1") ; Oct 1, 2019
+ (version "2.0.3") ; Dec 12,2020
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/DataTables/Dist-DataTables-Scroller-DataTables.git")
+ (url "https://github.com/DataTables/Dist-DataTables-Scroller.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1rw7ab72nfqvj6vl854kad72gkf5c0zi03mm4arcfvzn1b0x76n8"))))
+ (base32 "18pgy1zi6m2c4ycgylrszj2a8x9h2n8n7ymkwddcpk1ryq4n2l6q"))))
(build-system trivial-build-system)
(arguments
`(#:modules ((guix build utils))
@@ -388,9 +417,11 @@ tables with minimal effort.")
(targetdir (string-append out "/share/genenetwork2/javascript/DataTablesExtensions/scroller"))
(source (assoc-ref %build-inputs "source")))
(copy-recursively source targetdir)))))
- (propagated-inputs `(("javascript-datatables" ,javascript-datatables)))
+ (propagated-inputs `(("javascript-datatables" ,javascript-datatables)
+ ("javascript-datatables-scroller-style", javascript-datatables-scroller-style)
+ ))
(home-page "https://datatables.net/extensions/scroller/")
- (synopsis "This package contains distribution files required to style Scroller extension for DataTables.")
+ (synopsis "This package contains distribution files for the Scroller extension for DataTables. Only the core software for this library is contained in this package - to be correctly styled, a styling package for Scroller must also be included.")
(description "Scroller is a virtual rendering plug-in for DataTables which allows large datasets to be drawn on screen very quickly. Virtual rendering means is that only the visible portion of the table is drawn, while the scrolling container gives the visual impression that the whole table is visible, allowing excellent browser performance.")
(license license:expat)))