gnu: emacs-org2web: Don't use unstable tarball.
authorTobias Geerinckx-Rice <me@tobias.gr>
Mon, 8 Apr 2019 21:26:42 +0000 (23:26 +0200)
committerTobias Geerinckx-Rice <me@tobias.gr>
Wed, 10 Apr 2019 18:54:09 +0000 (20:54 +0200)
* gnu/packages/emacs-xyz.scm (emacs-org2web)[source]: Use GIT-FETCH and
GIT-FILE-NAME.

gnu/packages/emacs-xyz.scm

index 3ed4881..6c7d54a 100644 (file)
@@ -6888,15 +6888,15 @@ and lambdas.")
   (package
     (name "emacs-org2web")
     (version "0.9.1")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/tumashu/org2web/archive/v"
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "1c0ixcphlhp4c4qdiwq40bc3yp1gp1llp8pxrk4s7ny9n68s52zp"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/tumashu/org2web.git")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0wsvfn409a2ivbich8b8zqza78sprirg4bl7igx536ydqclmi0n7"))))
     (build-system emacs-build-system)
     (propagated-inputs
      `(("emacs-dash" ,emacs-dash)