[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/08: gnu: Add ghc-gitrev.
From: |
Ricardo Wurmus |
Subject: |
08/08: gnu: Add ghc-gitrev. |
Date: |
Wed, 16 Aug 2017 11:07:48 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit af4db693dbb2413b910212ff6104f6086d8389fe
Author: Alex Vong <address@hidden>
Date: Mon Aug 7 15:22:00 2017 +0800
gnu: Add ghc-gitrev.
* gnu/packages/haskell.scm (ghc-gitrev): New variable.
Signed-off-by: Ricardo Wurmus <address@hidden>
---
gnu/packages/haskell.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 14cc228..4f9e90e 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -5797,6 +5797,28 @@ maintained mirror of the
@uref{https://hackage.haskell.org/package/geniplate,
geniplate} package, written by Lennart Augustsson.")
(license license:bsd-3)))
+(define-public ghc-gitrev
+ (package
+ (name "ghc-gitrev")
+ (version "1.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/gitrev/gitrev-"
+ version ".tar.gz"))
+ (sha256
+ (base32 "0cl3lfm6k1h8fxp2vxa6ihfp4v8igkz9h35iwyq2frzm4kdn96d8"))))
+ (build-system haskell-build-system)
+ (inputs `(("ghc-base-compat" ,ghc-base-compat)))
+ (home-page "https://github.com/acfoltzer/gitrev")
+ (synopsis "Compile git revision info into Haskell projects")
+ (description
+ "This package provides some handy Template Haskell splices for including
+the current git hash and branch in the code of your project. This is useful
+for including in panic messages, @command{--version} output, or diagnostic
+info for more informative bug reports.")
+ (license license:bsd-3)))
+
(define-public ghc-haskell-src-meta
(package
(name "ghc-haskell-src-meta")
- branch master updated (adcb306 -> af4db69), Ricardo Wurmus, 2017/08/16
- 05/08: gnu: Add ghc-fail., Ricardo Wurmus, 2017/08/16
- 07/08: gnu: Add ghc-geniplate-mirror., Ricardo Wurmus, 2017/08/16
- 08/08: gnu: Add ghc-gitrev.,
Ricardo Wurmus <=
- 03/08: gnu: Add ghc-edisonapi., Ricardo Wurmus, 2017/08/16
- 04/08: gnu: Add ghc-edisoncore., Ricardo Wurmus, 2017/08/16
- 06/08: gnu: Add ghc-monadplus., Ricardo Wurmus, 2017/08/16
- 02/08: gnu: Add ghc-murmur-hash., Ricardo Wurmus, 2017/08/16
- 01/08: gnu: Add ghc-data-hash., Ricardo Wurmus, 2017/08/16