aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-08 15:57:50 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-08 19:03:44 +0300
commit16df2914144b56fcc481e1b7837aaf724fdd8d21 (patch)
treeaac461d9ce0065e66565093609d222c29eaac175
parent8a35e58a27a4d06f2bed7d6a6b106ed6d242555c (diff)
downloadpatches-16df2914144b56fcc481e1b7837aaf724fdd8d21.tar
patches-16df2914144b56fcc481e1b7837aaf724fdd8d21.tar.gz
gnu: js-strftime: Don't use unstable tarball.
* gnu/packages/javascript.scm (js-strftime)[source]: Use 'git-fetch'.
-rw-r--r--gnu/packages/javascript.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index 472fd5e98f..ff6878fdf0 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -265,13 +265,14 @@ provided by ES5. @code{JSONPath} is used to represent the links.")
(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"))
+ (method git-fetch)
+ (uri (git-reference
+ (url"https://github.com/samsonjs/strftime")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1iya43w7y26y2dp9l4d40bhjc4scb5a9mng5ng5c8hsqr82f1375"))))
+ "131nmlivazwxyba25kh9lda99749fq4xsyin6lzfalaaydviby4p"))))
(build-system minify-build-system)
(arguments
`(#:javascript-files '("strftime.js")))