[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/10: gnu: Add js-es5-shim.
From: |
Ricardo Wurmus |
Subject: |
08/10: gnu: Add js-es5-shim. |
Date: |
Fri, 4 Aug 2017 05:24:36 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 0b0aa76fa84b421e6c7c127984a24211439f6146
Author: Ricardo Wurmus <address@hidden>
Date: Thu Aug 3 15:55:39 2017 +0200
gnu: Add js-es5-shim.
* gnu/packages/javascript.scm (js-es5-shim): New variable.
---
gnu/packages/javascript.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index 19021ac..12f12bf 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -297,3 +297,29 @@ HTML tables with minimal effort.")
box. It's jQuery based and it has autocomplete and native-feeling keyboard
navigation; it is useful for tagging, contact lists, etc.")
(license license:asl2.0)))
+
+(define-public js-es5-shim
+ (package
+ (name "js-es5-shim")
+ (version "4.5.9")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/es-shims/es5-shim/"
+ "archive/v" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0yfndyijz0ykddzprpvfjb2453gzpn528klmwycwbqc1bqd3m1hl"))))
+ (build-system minify-build-system)
+ (arguments `(#:javascript-files
+ '("es5-sham.js"
+ "es5-shim.js")))
+ (home-page "https://github.com/es-shims/es5-shim")
+ (synopsis "ECMAScript 5 compatibility shims for legacy JavaScript engines")
+ (description "@code{es5-shim.js} patches a JavaScript context to contain
+all ECMAScript 5 methods that can be faithfully emulated with a legacy
+JavaScript engine. @code{es5-sham.js} patches other ES5 methods as closely as
+possible. Many of these shams are intended only to allow code to be written
+to ES5 without causing run-time errors in older engines. In many cases, this
+means that these shams cause many ES5 methods to silently fail.")
+ (license license:expat)))
- branch master updated (b316caa -> 8d6c845), Ricardo Wurmus, 2017/08/04
- 05/10: gnu: Add js-highlight., Ricardo Wurmus, 2017/08/04
- 08/10: gnu: Add js-es5-shim.,
Ricardo Wurmus <=
- 01/10: build: Add minify build system., Ricardo Wurmus, 2017/08/04
- 02/10: gnu: Add js-html5shiv., Ricardo Wurmus, 2017/08/04
- 04/10: gnu: Add js-strftime., Ricardo Wurmus, 2017/08/04
- 06/10: gnu: Add js-datatables., Ricardo Wurmus, 2017/08/04
- 07/10: gnu: Add js-selectize., Ricardo Wurmus, 2017/08/04
- 10/10: gnu: Add r-crosstalk., Ricardo Wurmus, 2017/08/04
- 03/10: gnu: Add js-json2., Ricardo Wurmus, 2017/08/04
- 09/10: gnu: Add r-shiny., Ricardo Wurmus, 2017/08/04