From 3f8c84a33d18f932788c1132df35511d989879c1 Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Fri, 29 Jan 2021 13:41:19 +0300 Subject: gn: javascript: Replace javascript-zxcvbn-async with javascript-zxcvbn Signed-off-by: BonfaceKilz --- gn/packages/genenetwork.scm | 2 +- gn/packages/javascript.scm | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'gn') 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") -- cgit v1.2.3