gnu: Add js-requirejs.

* gnu/packages/javascript.scm (js-requirejs): New variable.
This commit is contained in:
Ricardo Wurmus 2019-09-15 21:19:53 +02:00
parent bb0024dc69
commit 4112ff7e74
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 23 additions and 1 deletions

View File

@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
@ -307,6 +307,28 @@ Javascript library, adding sorting, paging and filtering abilities to plain
HTML tables with minimal effort.")
(license license:expat)))
(define-public js-requirejs
(package
(name "js-requirejs")
(version "2.3.6")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/requirejs/requirejs.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0cvd5y2mb3h6yil3niqn3gjqrzixdsxcz4rvc2f0hg4kzp5y0w86"))))
(build-system minify-build-system)
(arguments `(#:javascript-files '("require.js")))
(home-page "https://github.com/requirejs/requirejs/")
(synopsis "File and module loader for JavaScript")
(description "RequireJS loads plain JavaScript files as well as more
defined modules. It is optimized for in-browser use, including in a Web
Worker, but it can be used in other JavaScript environments.")
(license license:expat)))
(define-public js-selectize
(package
(name "js-selectize")