summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-12-23 10:38:56 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-02-08 23:51:06 +0100
commit807a30999d39cb0cd7a9080f9443626739a3e04a (patch)
treef33d5cc72959c9cb9415d749c3a35e29e33b3de9 /gnu
parent7d6e8fda61fa5c198d044ababe9f567ba1f8414e (diff)
downloadguix-807a30999d39cb0cd7a9080f9443626739a3e04a.tar.gz
gnu: interrobang: Use GIT-... helpers.
* gnu/packages/admin.scm (interrobang)[version]: Use GIT-VERSION.
[source]: Use GIT-FILE-NAME.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/admin.scm24
1 files changed, 12 insertions, 12 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 2381efac94..0da617b5c8 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2125,22 +2125,22 @@ the status of your battery in the system tray.")
         (commit "896543735e1c99144765fdbd7b6e6b5afbd8b881"))
     (package
       (name "interrobang")
-      (version (string-append "0.0.0-" revision "." (string-take commit 7)))
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://github.com/TrilbyWhite/interrobang")
-                      (commit commit)))
-                (file-name (string-append name "-" version))
-                (sha256
-                 (base32
-                  "1n13m70p1hfba5dy3i8hfclbr6k9q3d9dai3dg4jvhdhmxcpjzdf"))))
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/TrilbyWhite/interrobang.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1n13m70p1hfba5dy3i8hfclbr6k9q3d9dai3dg4jvhdhmxcpjzdf"))))
       (build-system gnu-build-system)
       (arguments
-       `(#:tests? #f ; no tests
+       `(#:tests? #f                    ; no tests
          #:phases
          (modify-phases %standard-phases
-           (delete 'configure)) ; no configure script
+           (delete 'configure))         ; no configure script
          #:make-flags (list (string-append "PREFIX="
                                            (assoc-ref %outputs "out")))))
       (inputs