(source (origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/douglascrockford/JSON-js.git")
+ (url "https://github.com/douglascrockford/JSON-js")
(commit commit)))
(file-name (string-append name "-" version "-checkout"))
(sha256
(source (origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/requirejs/requirejs.git")
+ (url "https://github.com/requirejs/requirejs")
(commit version)))
(file-name (git-file-name name version))
(sha256
(lambda _
(substitute* "src/FileSaver.js"
(("export ") ""))
+ #t))
+ (add-after 'install 'install-unminified-version
+ (lambda* (#:key outputs #:allow-other-keys)
+ (install-file "src/FileSaver.js"
+ (string-append (assoc-ref outputs "out")
+ "/share/javascript"))
#t)))))
(home-page
"https://eligrey.com/blog/saving-generated-files-on-the-client-side/")
(define-public mujs
(package
(name "mujs")
- (version "1.0.6")
+ (version "1.0.7")
(source (origin
(method url-fetch)
(uri (string-append "https://mujs.com/downloads/mujs-"
version ".tar.xz"))
(sha256
(base32
- "1q9w2dcspfp580pzx7sw7x9gbn8j0ak6dvj75wd1ml3f3q3i43df"))))
+ "1ilhay15z4k7mlzs6g2d00snivin7vp72dfw5wwpmc0x70jr31l2"))))
(build-system gnu-build-system)
(arguments
'(#:phases