diff options
author | BonfaceKilz | 2020-05-26 17:40:32 +0300 |
---|---|---|
committer | BonfaceKilz | 2020-05-26 17:42:36 +0300 |
commit | d9f8ca87bc7d73a23c03dfe3399e9aef3cd38d05 (patch) | |
tree | 29c4709ce7437ad8272c0e54d4d68bcc1a090fc3 /gn/packages | |
parent | dee92e752878a7eae43ecacbbf085ec2b786b667 (diff) | |
download | guix-bioinformatics-d9f8ca87bc7d73a23c03dfe3399e9aef3cd38d05.tar.gz |
Use js-shapiro-wilk from GUIX_PROFILE
Diffstat (limited to 'gn/packages')
-rw-r--r-- | gn/packages/javascript.scm | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm index dd0ce14..2fac171 100644 --- a/gn/packages/javascript.scm +++ b/gn/packages/javascript.scm @@ -1155,6 +1155,68 @@ your forms' modifications and adapts its validation accordingly.") "JSZip is a javascript library for creating, reading and editing .zip files, with a lovely and simple API.") (license license:expat))) +(define-public javascript-shapiro-wilk + (package + (name "javascript-shapiro-wilk") + (version "1.0.0") ; Sept 27, 2012 + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rniwa/js-shapiro-wilk") + (commit "451e6341832dc42de026b1d18ac0282da7f72a1e"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1azy5h30m7j86bq2zvwpkm5l4jgypbrp3bjlwa4z6la2h0c4l2nz")))) + (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/shapiro-wilk")) + (source (assoc-ref %build-inputs "source"))) + (install-file (string-append source "/shapiro-wilk.js") targetdir))))) + (native-inputs `(("source" ,source))) + (home-page "https://stuk.github.io/jszip/") + (synopsis "Shapiro-Wilk Test in JavaScript (ported from R)") + (description + "Shapiro-Wilk Test in JavaScript (ported from R)") + (license license:expat))) + +(define-public javascript-underscore-string + (package + (name "javascript-shapiro-wilk") + (version "3.2.2") ; July 4, 2019 + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rniwa/js-shapiro-wilk") + (commit "451e6341832dc42de026b1d18ac0282da7f72a1e"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1azy5h30m7j86bq2zvwpkm5l4jgypbrp3bjlwa4z6la2h0c4l2nz")))) + (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/shapiro-wilk")) + (source (assoc-ref %build-inputs "source"))) + (install-file (string-append source "/shapiro-wilk.js") targetdir))))) + (native-inputs `(("source" ,source))) + (home-page "https://stuk.github.io/jszip/") + (synopsis "Shapiro-Wilk Test in JavaScript (ported from R)") + (description + "Shapiro-Wilk Test in JavaScript (ported from R)") + (license license:expat))) + (define-public js-parsley (package (inherit javascript-parsley) |