diff options
Diffstat (limited to 'gn/packages/javascript.scm')
-rw-r--r-- | gn/packages/javascript.scm | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm index 5e1dc8e..1c4b97b 100644 --- a/gn/packages/javascript.scm +++ b/gn/packages/javascript.scm @@ -376,7 +376,6 @@ tables with minimal effort.") (define-public javascript-datatables-2.2.2 (package - (inherit javascript-datatables) (name "javascript-datatables-2.2.2") (version "2.2.2") (source @@ -387,7 +386,24 @@ tables with minimal effort.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1pzpkpybcf9p81j8afyhrmq11l9lskzxhikdv7h7sb55vx98xn9s")))))) + (base32 "1pzpkpybcf9p81j8afyhrmq11l9lskzxhikdv7h7sb55vx98xn9s")))) + (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/DataTables")) + (source (assoc-ref %build-inputs "source"))) + (copy-recursively source targetdir))))) + (propagated-inputs (list javascript-jquery-1)) + (home-page "https://www.datatables.net/") + (synopsis "Tables 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))) (define-public javascript-datatables-2.2 javascript-datatables-2.2.2) |