diff options
author | BonfaceKilz | 2020-05-13 17:09:01 +0300 |
---|---|---|
committer | BonfaceKilz | 2020-05-13 17:09:01 +0300 |
commit | 42238b67c3a76d280b4665ed8307a60b74eb2d60 (patch) | |
tree | 0452f9357c57f8dfc0f940d6a5ff02fe2b3f10cc /gn | |
parent | 0b56871d854773e99f98d5d6774116b83a671bb3 (diff) | |
download | guix-bioinformatics-42238b67c3a76d280b4665ed8307a60b74eb2d60.tar.gz |
gn(javascript): add more js extensions used by dataTables
Diffstat (limited to 'gn')
-rw-r--r-- | gn/packages/javascript.scm | 62 |
1 files changed, 59 insertions, 3 deletions
diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm index 78e2696..904f89c 100644 --- a/gn/packages/javascript.scm +++ b/gn/packages/javascript.scm @@ -365,6 +365,35 @@ tables with minimal effort.") (define-public javascript-datatables-buttons (package (name "javascript-datatables-buttons") + (version "1.6.2") ; May 11, 2020 + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/DataTables/Dist-DataTables-Buttons.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1iny8bsm4xx2w7psj7kf140bvkznlw5jvpdi2r7h6fzyrr5hd60x")))) + (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/buttons")) + (source (assoc-ref %build-inputs "source"))) + (copy-recursively source targetdir))))) + (propagated-inputs `(("javascript-datatables" ,javascript-datatables))) + (home-page "https://datatables.net/extensions/buttons/") + (synopsis "This package contains distribution files for the Buttons extension for DataTables.") + (description "The Buttons extension for DataTables provides a common set of options, API methods and styling to display buttons on a page that will interact with a DataTable. It also provides plug-ins for file export (HTML5 and Flash), print view and column visibility. Other libraries, such as Editor and Select also provide buttons specific to their use cases.") + (license license:expat))) + +(define-public javascript-datatables-buttons-styles + (package + (name "javascript-datatables-buttons-styles") (version "1.6.1") ; Oct 18, 2019 (source (origin @@ -382,7 +411,7 @@ tables with minimal effort.") (begin (use-modules (guix build utils)) (let* ((out (assoc-ref %outputs "out")) - (targetdir (string-append out "/share/genenetwork2/javascript/DataTablesExtensions/buttons")) + (targetdir (string-append out "/share/genenetwork2/javascript/DataTablesExtensions/buttonStyles")) (source (assoc-ref %build-inputs "source"))) (copy-recursively source targetdir))))) (propagated-inputs `(("javascript-datatables" ,javascript-datatables))) @@ -391,6 +420,35 @@ tables with minimal effort.") (description "The Buttons extension for DataTables provides a common set of options, API methods and styling to display buttons on a page that will interact with a DataTable. It also provides plug-ins for file export (HTML5 and Flash), print view and column visibility. Other libraries, such as Editor and Select also provide buttons specific to their use cases.") (license license:expat))) +(define-public javascript-datatables-buttons-bootstrap + (package + (name "javascript-datatables-buttons-bootstrap") + (version "1.6.2") ; May 11, 2020 + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/DataTables/Dist-DataTables-Buttons-Bootstrap.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "090a9xrfsk40fqk1s1rjkm4j3nx08wz0lxvnqidd013ff7awaqxa")))) + (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/buttonsBootstrap")) + (source (assoc-ref %build-inputs "source"))) + (copy-recursively source targetdir))))) + (propagated-inputs `(("javascript-datatables" ,javascript-datatables))) + (home-page "https://datatables.net/extensions/buttons/") + (synopsis "This package contains distribution files required to style Buttons extension for DataTables with styling for Bootstrap.") + (description "The Buttons extension for DataTables provides a common set of options, API methods and styling to display buttons on a page that will interact with a DataTable. It also provides plug-ins for file export (HTML5 and Flash), print view and column visibility. Other libraries, such as Editor and Select also provide buttons specific to their use cases.") + (license license:expat))) + (define-public javascript-datatables-plugins (package (name "javascript-datatables-plugins") @@ -1290,5 +1348,3 @@ widgets, and themes built on top of the jQuery JavaScript Library.") "Given an element, such as a button, and a tooltip element describing it, Popper will automatically put the tooltip in the right place near the button.") (license license:expat))) - -javascript-datatables-col-resize |