gnu: Add js-html5shiv.

* gnu/packages/javascript.scm (js-html5shiv): New variable.
This commit is contained in:
Ricardo Wurmus 2017-08-03 15:53:54 +02:00
parent 88c8f247e5
commit ed69963b03
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -134,3 +134,28 @@ (define-public js-respond
script to enable responsive web designs in browsers that don't support CSS3
Media Queries.")
(license license:expat)))
(define-public js-html5shiv
(package
(name "js-html5shiv")
(version "3.7.3")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/aFarkas/html5shiv/"
"archive/" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0inlbpxpqzdyi24lqagzf7l24zxg0y02xcpqs2h4npjscazzw7hg"))))
(build-system minify-build-system)
(home-page "https://github.com/aFarkas/html5shiv")
(synopsis "Enable HTML5 sectioning elements in legacy browsers")
(description "The HTML5 Shiv enables use of HTML5 sectioning elements in
legacy Internet Explorer and provides basic HTML5 styling for Internet
Explorer 6-9, Safari 4.x (and iPhone 3.x), and Firefox 3.x.")
;; From the file "MIT and GPL2 licenses.md":
;;
;; This software is licensed under a dual license system (MIT or GPL
;; version 2). This means you are free to choose with which of both
;; licenses (MIT or GPL version 2) you want to use this library.
(license (list license:expat license:gpl2))))