mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: emacs-ewmctrl: Use git helpers.
* gnu/packages/emacs.scm (emacs-ewmctrl)[version]: Use 'git-version'. [source]: Use 'git-file-name'.
This commit is contained in:
parent
27cbe66fe7
commit
84960cb780
1 changed files with 3 additions and 5 deletions
|
@ -8348,19 +8348,17 @@ (define-public emacs-helm-bibtex
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+))))
|
||||||
|
|
||||||
(define-public emacs-ewmctrl
|
(define-public emacs-ewmctrl
|
||||||
(let ((commit "3d0217c4d6cdb5c308b6cb4293574f470d4faacf")
|
(let ((commit "3d0217c4d6cdb5c308b6cb4293574f470d4faacf"))
|
||||||
(revision "1"))
|
|
||||||
(package
|
(package
|
||||||
(name "emacs-ewmctrl")
|
(name "emacs-ewmctrl")
|
||||||
(version (string-append "0.0.1" "-" revision "."
|
(version (git-version "0.0.1" "1" commit))
|
||||||
(string-take commit 7)))
|
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/flexibeast/ewmctrl.git")
|
(url "https://github.com/flexibeast/ewmctrl.git")
|
||||||
(commit commit)))
|
(commit commit)))
|
||||||
(file-name (string-append name "-" version "-checkout"))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0ilwvx0qryv3v6xf0gxqwnfm6pf96gxap8h9g3f6z6lk9ff4n1wi"))))
|
"0ilwvx0qryv3v6xf0gxqwnfm6pf96gxap8h9g3f6z6lk9ff4n1wi"))))
|
||||||
|
|
Loading…
Reference in a new issue