summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2018-05-11 10:59:49 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2018-05-11 11:12:22 +0300
commit84960cb780943a89706fb456bafe6b690a8c9039 (patch)
tree17a2eb94e56afe3510ff6dd223f79f918b61b57b /gnu
parent27cbe66fe77787571354482847d0e0c08d55fb8e (diff)
downloadpatches-84960cb780943a89706fb456bafe6b690a8c9039.tar
patches-84960cb780943a89706fb456bafe6b690a8c9039.tar.gz
gnu: emacs-ewmctrl: Use git helpers.
* gnu/packages/emacs.scm (emacs-ewmctrl)[version]: Use 'git-version'. [source]: Use 'git-file-name'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs.scm8
1 files changed, 3 insertions, 5 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 4ad5155605..f7f53410e6 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -8348,19 +8348,17 @@ arXiv, Google Scholar, Library of Congress, etc.
(license license:gpl3+))))
(define-public emacs-ewmctrl
- (let ((commit "3d0217c4d6cdb5c308b6cb4293574f470d4faacf")
- (revision "1"))
+ (let ((commit "3d0217c4d6cdb5c308b6cb4293574f470d4faacf"))
(package
(name "emacs-ewmctrl")
- (version (string-append "0.0.1" "-" revision "."
- (string-take commit 7)))
+ (version (git-version "0.0.1" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/flexibeast/ewmctrl.git")
(commit commit)))
- (file-name (string-append name "-" version "-checkout"))
+ (file-name (git-file-name name version))
(sha256
(base32
"0ilwvx0qryv3v6xf0gxqwnfm6pf96gxap8h9g3f6z6lk9ff4n1wi"))))