diff options
author | Frederick Muriuki Muriithi | 2025-03-12 11:12:53 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-03-12 11:12:53 -0500 |
commit | 687fff7073d65d75bdace6abb6585114d28b1a00 (patch) | |
tree | 7e207e13894e7e8e2ebf701fd78b347d88f6e116 | |
parent | 9b77cd4fa1cbc27fec95bb3e3bdbaa7da6f2f97a (diff) | |
download | guix-bioinformatics-687fff7073d65d75bdace6abb6585114d28b1a00.tar.gz |
javascript-datatables-2.2.2: Don't inherit from 1.10.19
For some reason, inheriting from version 1.10.19 leads to the package
installing from the older 1.10.19 version rather than the newer 2.2.2
-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) |