aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner2019-09-22 07:49:51 -0500
committerEfraim Flashner2019-09-22 07:49:51 -0500
commit2e5bf0e8f1c90555fac5f0c7cadbd34a13bb5e9b (patch)
tree1da290e83b40774666ef44d84682fff69cbca40f
parent8bcc23f7094a19f37780652af5bf012ca8ba9de5 (diff)
downloadguix-bioinformatics-2e5bf0e8f1c90555fac5f0c7cadbd34a13bb5e9b.tar.gz
gn: Add js-underscore.
* gn/packages/javascript.scm (js-underscore): New variable.
-rw-r--r--gn/packages/javascript.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm
index bc66f53..fb86deb 100644
--- a/gn/packages/javascript.scm
+++ b/gn/packages/javascript.scm
@@ -5,6 +5,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
+ #:use-module (guix build-system minify)
#:use-module (guix build-system trivial)
#:use-module (srfi srfi-1))
@@ -573,3 +574,11 @@ client-side, and is perfect for web apps that generates files on the client.")
"Underscore is a JavaScript library that provides a whole mess of useful
functional programming helpers without extending any built-in objects.")
(license license:expat)))
+
+(define-public js-underscore
+ (package
+ (inherit javascript-underscore)
+ (name "js-underscore")
+ (arguments
+ `(#:javascript-files '("underscore.js")))
+ (build-system minify-build-system)))