about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Kabui2021-01-29 13:41:19 +0300
committerBonfaceKilz2021-01-31 12:59:42 +0300
commit3f8c84a33d18f932788c1132df35511d989879c1 (patch)
treea81ab9538feda2fa605e1a1ca1b1be799fabb77e
parent4482bc32c6bba22aa4e27957410987c552dc2def (diff)
downloadguix-bioinformatics-3f8c84a33d18f932788c1132df35511d989879c1.tar.gz
gn: javascript: Replace javascript-zxcvbn-async with javascript-zxcvbn
Signed-off-by: BonfaceKilz <me@bonfacemunyoki.com>
-rw-r--r--gn/packages/genenetwork.scm2
-rw-r--r--gn/packages/javascript.scm14
2 files changed, 8 insertions, 8 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm
index e8c11a7..3d7a786 100644
--- a/gn/packages/genenetwork.scm
+++ b/gn/packages/genenetwork.scm
@@ -358,7 +358,7 @@ Graphical Fragment Assembly} files and related formats.")
        ("javascript-nvd3" ,javascript-nvd3)
        ("javascript-bootstrap" ,javascript-bootstrap)
        ("javascript-jquery" ,javascript-jquery)
-       ("javascript-zxcvbn-async" ,javascript-zxcvbn-async)
+       ("javascript-zxcvbn" ,javascript-zxcvbn)
        ("javascript-jquery-ui" ,javascript-jquery-ui)
        ("javascript-jquery-cookie" ,javascript-jquery-cookie)
        ))
diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm
index cef9393..e064c21 100644
--- a/gn/packages/javascript.scm
+++ b/gn/packages/javascript.scm
@@ -1758,20 +1758,20 @@ Popper will automatically put the tooltip in the right place near the button.")
 Popper will automatically put the tooltip in the right place near the button.")
     (license license:expat)))
 
-(define-public javascript-zxcvbn-async
+(define-public javascript-zxcvbn
   (package
-   (name "javascript-zxcvbn-async")
-   (version "1.1.0")
+   (name "javascript-zxcvbn")
+   (version "4.4.2")
    (source
     (origin
      (method url-fetch)
      (uri (string-append
            "https://cdnjs.cloudflare.com/ajax/libs/zxcvbn/"
            version
-           "/zxcvbn-async.min.js"))
+           "/zxcvbn.js"))
      (file-name (string-append name ".js"))
      (sha256
-      (base32 "1igmapz0gb458mdf634ywmfg8m5xixsx6qc38hqw90alk30lsmk2"))))
+      (base32 "0jhpzvgr3aly7m5wmcz759ssx6kgm3rrh2ax5psrgws5s8azqxv6"))))
    (build-system trivial-build-system)
    (arguments
     `(#:modules ((guix build utils))
@@ -1780,9 +1780,9 @@ Popper will automatically put the tooltip in the right place near the button.")
         (use-modules (guix build utils))
         (let* ((source (assoc-ref %build-inputs "source"))
                (out (assoc-ref %outputs "out"))
-               (targetdir (string-append out "/share/genenetwork2/javascript/zxcvbn-async")))
+               (targetdir (string-append out "/share/genenetwork2/javascript/zxcvbn")))
           (mkdir-p targetdir)
-          (copy-file source (string-append targetdir "/zxcvbn-async.min.js"))
+          (copy-file source (string-append targetdir "/zxcvbn.js"))
           ))))
    (native-inputs `(("source" ,source)))
    (home-page "https://www.usenix.org/conference/usenixsecurity16/technical-sessions/presentation/wheeler")