diff options
author | Kyle Meyer <kyle@kyleam.com> | 2019-09-14 02:15:32 -0400 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-09-16 10:27:27 +0200 |
commit | e405912c20cdd188274e850e72d145a39c917f77 (patch) | |
tree | ac453f40a79ab3a2adccee5708de32b26ff97bd9 /gnu/packages/haskell-xyz.scm | |
parent | 7e772cb66d050b86b6dde97bc97d09e708e01714 (diff) | |
download | patches-e405912c20cdd188274e850e72d145a39c917f77.tar patches-e405912c20cdd188274e850e72d145a39c917f77.tar.gz |
gnu: Add ghc-magic.
* gnu/packages/haskell-xyz.scm (ghc-magic): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/haskell-xyz.scm')
-rw-r--r-- | gnu/packages/haskell-xyz.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index ee26c1a25a..4313b6059e 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2019 Robert Vollmert <rob@vllmrt.net> ;;; Copyright © 2019 Jacob MacDonald <jaccarmac@gmail.com> ;;; Copyright © 2019 John Soo <jsoo1@asu.edu> +;;; Copyright © 2019 Kyle Meyer <kyle@kyleam.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -5954,6 +5955,28 @@ monadic incremental interface is provided as well.") compression algorithm used in the @code{.xz} file format.") (license license:bsd-3))) +(define-public ghc-magic + (package + (name "ghc-magic") + (version "1.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/magic/magic-" + version ".tar.gz")) + (sha256 + (base32 + "10p0gjjjwr1dda7hahwrwn5njbfhl67arq3v3nf1jr3vymlkn75j")))) + (build-system haskell-build-system) + (home-page "http://hackage.haskell.org/package/magic") + (synopsis "Interface to C file/magic library") + (description + "This package provides a full-featured binding to the C libmagic library. +With it, you can determine the type of a file by examining its contents rather +than its name.") + (license license:bsd-3))) + (define-public ghc-markdown-unlit (package (name "ghc-markdown-unlit") |