gnu: js-html5shiv: Don't use unstable tarball.
authorEfraim Flashner <efraim@flashner.co.il>
Sun, 8 Sep 2019 12:44:05 +0000 (15:44 +0300)
committerEfraim Flashner <efraim@flashner.co.il>
Sun, 8 Sep 2019 16:03:44 +0000 (19:03 +0300)
* gnu/packages/javascript.scm (js-html5shiv)[source]: Use 'git-fetch'.

gnu/packages/javascript.scm

index 9e1818d..472fd5e 100644 (file)
@@ -194,13 +194,14 @@ Media Queries.")
     (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"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/aFarkas/html5shiv")
+                     (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0inlbpxpqzdyi24lqagzf7l24zxg0y02xcpqs2h4npjscazzw7hg"))))
+                "0y1c5nyq0brl9fjdihhax33vks4s1ij9iv113879sg3zflmgqpd0"))))
     (build-system minify-build-system)
     (home-page "https://github.com/aFarkas/html5shiv")
     (synopsis "Enable HTML5 sectioning elements in legacy browsers")