diff options
Diffstat (limited to 'gn/packages/javascript.scm')
-rw-r--r-- | gn/packages/javascript.scm | 127 |
1 files changed, 127 insertions, 0 deletions
diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm index c2634f8..c18df19 100644 --- a/gn/packages/javascript.scm +++ b/gn/packages/javascript.scm @@ -1122,6 +1122,103 @@ requirements inside your form HTML tags. It can also automatically detects your forms' modifications and adapts its validation accordingly.") (license license:expat))) +(define-public javascript-jszip + (package + (name "javascript-jszip") + (version "3.2.2") ; July 4, 2019 + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Stuk/jszip") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "185n341knjqmmpzs7gjv9xd2id2vy85l9in2q058hsz36lz3rpjz")))) + (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/jszip")) + (source (assoc-ref %build-inputs "source")) + (dist (string-append source "/dist"))) + (install-file (string-append dist "/jszip.js") targetdir) + (install-file (string-append dist "/jszip.min.js") targetdir))))) + (native-inputs `(("source" ,source))) + (home-page "https://stuk.github.io/jszip/") + (synopsis "JSZip is a javascript library for creating, reading and editing .zip files, with a lovely and simple API.") + (description + "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-underscore-string") + (version "3.2.1") ; Oct 4, 2018 + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/esamattis/underscore.string") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1cqfpbjfb33h60yd4rp09024ckbq1mbd4njlh7pxbhrrzwyv2kmk")))) + (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/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 "http://esamattis.github.com/underscore.string/") + (synopsis "String manipulation helpers for javascript") + (description + "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 (package (inherit javascript-parsley) @@ -1283,6 +1380,36 @@ experience.") "Tooltips for d3.js visualizations.") (license license:expat))) +(define-public javascript-purescript-genome-browser + (package + (name "javascript-purescript-genome-browser") + (version "0.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/BonfaceKilz/Dist-Purestript-Genome-Browser") + (commit "93d45a55ca5053bb87b6d4627ae5c7d973c046ea"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0mp47ms696pijd95agvfg32anyrg6rx0gxkhzm8423pqcfqfad5s")))) + (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/purescript-genome-browser")) + (source (assoc-ref %build-inputs "source"))) + (copy-recursively source targetdir))))) + (native-inputs `(("source" ,source))) + (home-page "https://github.com/chfi/purescript-genetics-browser") + (synopsis "Dist files for the purescript genetics browser") + (description + "Dist files for the purescript genetics browser") + (license license:expat))) (define-public javascript-jquery-ui (package |