[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/49: gnu: Add ghc-executable-path.
From: |
Ricardo Wurmus |
Subject: |
10/49: gnu: Add ghc-executable-path. |
Date: |
Thu, 10 Dec 2015 13:36:40 +0000 |
rekado pushed a commit to branch master
in repository guix.
commit 25b20a9c7a4d4ec59321bdae256ee5ad29ea2f18
Author: Ricardo Wurmus <address@hidden>
Date: Thu Nov 26 17:07:08 2015 +0100
gnu: Add ghc-executable-path.
* gnu/packages/haskell.scm (ghc-executable-path): New variable.
---
gnu/packages/haskell.scm | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 170eab5..42423c4 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -23,6 +23,7 @@
#:use-module (ice-9 regex)
#:use-module ((guix licenses) #:select (bsd-3
lgpl2.1 lgpl2.1+ gpl2+ gpl3+
+ public-domain
expat))
#:use-module (guix packages)
#:use-module (guix download)
@@ -5133,6 +5134,28 @@ CommonMark, a fully specified variant of Markdown. It
includes sources for
libcmark (0.21.0) and does not require prior installation of the C library.")
(license bsd-3)))
+(define-public ghc-executable-path
+ (package
+ (name "ghc-executable-path")
+ (version "0.0.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://hackage.haskell.org/package/"
+ "executable-path/executable-path-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1jg58qf19qz93c60ryglcavwdcysz4fd4qn8kpw5im9w9kniawlc"))))
+ (build-system haskell-build-system)
+ (home-page "http://hackage.haskell.org/package/executable-path")
+ (synopsis "Find out the full path of the executable")
+ (description
+ "The documentation of @code{System.Environment.getProgName} says that
+\"However, this is hard-to-impossible to implement on some non-Unix OSes, so
+instead, for maximum portability, we just return the leafname of the program
+as invoked.\" This library tries to provide the missing path.")
+ (license public-domain)))
+
(define-public idris
(package
(name "idris")
- branch master updated (2e74b9f -> e815c09), Ricardo Wurmus, 2015/12/10
- 01/49: gnu: ghc-haskell-src-exts: Propagate some inputs., Ricardo Wurmus, 2015/12/10
- 02/49: gnu: ghc-aeson: Propagate input., Ricardo Wurmus, 2015/12/10
- 05/49: gnu: Add ghc-texmath., Ricardo Wurmus, 2015/12/10
- 07/49: gnu: Add ghc-diff., Ricardo Wurmus, 2015/12/10
- 10/49: gnu: Add ghc-executable-path.,
Ricardo Wurmus <=
- 12/49: gnu: Add ghc-packedstring., Ricardo Wurmus, 2015/12/10
- 04/49: gnu: Add ghc-pandoc-types., Ricardo Wurmus, 2015/12/10
- 13/49: gnu: Add ghc-th-lift., Ricardo Wurmus, 2015/12/10
- 03/49: gnu: Add ghc-deepseq-generics., Ricardo Wurmus, 2015/12/10
- 14/49: gnu: Add ghc-th-expand-syns., Ricardo Wurmus, 2015/12/10
- 08/49: gnu: Add ghc-highlighting-kate., Ricardo Wurmus, 2015/12/10
- 09/49: gnu: Add ghc-cmark., Ricardo Wurmus, 2015/12/10
- 15/49: gnu: Add ghc-th-reify-many., Ricardo Wurmus, 2015/12/10
- 06/49: gnu: Add ghc-regex-pcre-builtin., Ricardo Wurmus, 2015/12/10
- 21/49: gnu: Add ghc-logging-facade., Ricardo Wurmus, 2015/12/10