aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
authorBonfaceKilz2020-05-26 19:32:54 +0300
committerBonfaceKilz2020-05-26 19:32:54 +0300
commitf2498efbe8e884662390e0a88c8876ebed27c19b (patch)
treeb289aaae22a747882190a828633f80202a5ea10e /gn/packages
parentd9f8ca87bc7d73a23c03dfe3399e9aef3cd38d05 (diff)
downloadguix-bioinformatics-f2498efbe8e884662390e0a88c8876ebed27c19b.tar.gz
gn: add javascript-underscore-string
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/javascript.scm24
1 files changed, 13 insertions, 11 deletions
diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm
index 2fac171..0af1863 100644
--- a/gn/packages/javascript.scm
+++ b/gn/packages/javascript.scm
@@ -1188,18 +1188,18 @@ your forms' modifications and adapts its validation accordingly.")
(define-public javascript-underscore-string
(package
- (name "javascript-shapiro-wilk")
- (version "3.2.2") ; July 4, 2019
+ (name "javascript-underscore-string")
+ (version "3.2.1") ; Oct 4, 2018
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/rniwa/js-shapiro-wilk")
- (commit "451e6341832dc42de026b1d18ac0282da7f72a1e")))
+ (url "https://github.com/esamattis/underscore.string")
+ (commit version)))
(file-name (git-file-name name version))
(sha256
(base32
- "1azy5h30m7j86bq2zvwpkm5l4jgypbrp3bjlwa4z6la2h0c4l2nz"))))
+ "1cqfpbjfb33h60yd4rp09024ckbq1mbd4njlh7pxbhrrzwyv2kmk"))))
(build-system trivial-build-system)
(arguments
`(#:modules ((guix build utils))
@@ -1207,14 +1207,16 @@ your forms' modifications and adapts its validation accordingly.")
(begin
(use-modules (guix build utils))
(let* ((out (assoc-ref %outputs "out"))
- (targetdir (string-append out "/share/genenetwork2/javascript/shapiro-wilk"))
- (source (assoc-ref %build-inputs "source")))
- (install-file (string-append source "/shapiro-wilk.js") targetdir)))))
+ (targetdir (string-append out "/share/genenetwork2/javascript/underscore-string"))
+ (source (assoc-ref %build-inputs "source"))
+ (dist (string-append source "/dist")))
+ (install-file (string-append dist "/underscore.string.js") targetdir)
+ (install-file (string-append dist "/underscore.string.min.js") targetdir)))))
(native-inputs `(("source" ,source)))
- (home-page "https://stuk.github.io/jszip/")
- (synopsis "Shapiro-Wilk Test in JavaScript (ported from R)")
+ (home-page "http://esamattis.github.com/underscore.string/")
+ (synopsis "String manipulation helpers for javascript")
(description
- "Shapiro-Wilk Test in JavaScript (ported from R)")
+ "Javascript lacks complete string manipulation operations. This is an attempt to fill that gap. List of build-in methods can be found for example from Dive Into JavaScript. Originally started as an Underscore.js extension but is a full standalone library nowadays.")
(license license:expat)))
(define-public js-parsley