aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
authorBonfaceKilz2020-09-03 23:44:50 +0300
committerBonfaceKilz2020-09-03 23:44:50 +0300
commita293559ea741ba209bf4676608a4fb16c07cfab5 (patch)
tree47f851064e0552ba200ff3b0c7fae19ab3a922ef /gn/packages
parent75a26aae1f32a67ba12acd77d6db40c1dbdb606a (diff)
downloadguix-bioinformatics-a293559ea741ba209bf4676608a4fb16c07cfab5.tar.gz
gn: js-md5: Use correct md5 javascript library
* gn/packages/javascript.scm (javascript-md5): Delete it. * gn/packages/javascript.scm (js-md5): Use correct library. Use 2.10.0 from <https://github.com/blueimp/JavaScript-MD5>. See: <https://github.com/genenetwork/genenetwork2/issues/435>
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/javascript.scm30
1 files changed, 11 insertions, 19 deletions
diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm
index 3b4a033..51e0e10 100644
--- a/gn/packages/javascript.scm
+++ b/gn/packages/javascript.scm
@@ -1391,20 +1391,20 @@ experience.")
(arguments `())
(build-system minify-build-system)))
-(define-public javascript-md5
+(define-public js-md5
(package
- (name "javascript-md5")
- (version "0.7.3") ; Dec. 18, 2017
+ (name "js-md5")
+ (version "2.10.0") ; Dec. 28, 2017
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/emn178/js-md5")
- (commit (string-append "v" version))))
+ (url "https://github.com/blueimp/JavaScript-MD5")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
- "01pz0lz8wkikarj1gn8h40hljipxlk3wmc4algbidwp5rs8qv4gf"))))
+ "017y9gkhzdj7qa5fw8r4kkp9kf5s9cnz4y17dskkrwd2dnwwxg3z"))))
(build-system trivial-build-system)
(arguments
`(#:modules ((guix build utils))
@@ -1412,24 +1412,16 @@ experience.")
(begin
(use-modules (guix build utils))
(let* ((out (assoc-ref %outputs "out"))
- (targetdir (string-append out "/share/genenetwork2/javascript/md5"))
+ (targetdir (string-append out "/share/javascript/"))
(source (assoc-ref %build-inputs "source")))
- (install-file (string-append source "/src/md5.js") targetdir)
- (install-file (string-append source "/build/md5.min.js") targetdir)))))
+ (install-file (string-append source "/js/md5.min.js") targetdir)))))
(native-inputs `(("source" ,source)))
- (home-page "https://github.com/emn178/js-md5")
- (synopsis "MD5 hash function for JavaScript supports UTF-8 encoding")
+ (home-page "https://github.com/blueimp/JavaScript-MD5")
+ (synopsis "JavaScript MD5 implementation")
(description
- "js-md5 is a simple MD5 hash function for JavaScript supports UTF-8 encoding.")
+ "JavaScript MD5 implementation. Compatible with server-side environments like Node.js, module loaders like RequireJS, Browserify or webpack and all web browsers.")
(license license:expat)))
-(define-public js-md5
- (package
- (inherit javascript-md5)
- (name "js-md5")
- (arguments `(#:javascript-files '("src/md5.js")))
- (build-system minify-build-system)))
-
(define d3-tip-js
(let ((version "0.9.1"))
(origin