[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/10: gnu: Add js-strftime.
From: |
Ricardo Wurmus |
Subject: |
04/10: gnu: Add js-strftime. |
Date: |
Fri, 4 Aug 2017 05:24:36 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 3f48403aafc3cd6e50c178fb15b6251a40969c07
Author: Ricardo Wurmus <address@hidden>
Date: Thu Aug 3 15:54:33 2017 +0200
gnu: Add js-strftime.
* gnu/packages/javascript.scm (js-strftime): New variable.
---
gnu/packages/javascript.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index a806cb0..fdf5224 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -206,3 +206,26 @@ function that uses recursive descent instead of
@code{eval}.
and DAGs in JSON, and to then recover them. This is a capability that is not
provided by ES5. @code{JSONPath} is used to represent the links.")
(license license:public-domain))))
+
+(define-public js-strftime
+ (package
+ (name "js-strftime")
+ (version "0.10.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/samsonjs/strftime/"
+ "archive/v" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1iya43w7y26y2dp9l4d40bhjc4scb5a9mng5ng5c8hsqr82f1375"))))
+ (build-system minify-build-system)
+ (arguments
+ `(#:javascript-files '("strftime.js")))
+ (home-page "https://github.com/samsonjs/strftime")
+ (synopsis "Implementation of strftime to JavaScript")
+ (description "This is an implementation of the @code{strftime} procedure
+for JavaScript. It works in (at least) node.js and browsers. It supports
+localization and timezones. Most standard specifiers from C are supported as
+well as some other extensions from Ruby.")
+ (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, 2017/08/04
- 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 <=
- 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