* gnu/packages/emacs-xyz.scm (emacs-org2web)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
(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)