Skip to content
Snippets Groups Projects
Commit ccd7b308 authored by Eric Bavier's avatar Eric Bavier
Browse files

gnu: Add ghc-hostname.

* gnu/packages/haskell.scm (ghc-hostname): New variable.
parent d2a52108
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch> ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu> ;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu>
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org> ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
...@@ -247,6 +248,25 @@ (define-public ghc ...@@ -247,6 +248,25 @@ (define-public ghc
interactive environment for the functional language Haskell.") interactive environment for the functional language Haskell.")
(license bsd-3))) (license bsd-3)))
(define-public ghc-hostname
(package
(name "ghc-hostname")
(version "1.0")
(source
(origin
(method url-fetch)
(uri (string-append "http://hackage.haskell.org/package/hostname/"
"hostname-" version ".tar.gz"))
(sha256
(base32
"0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv"))))
(build-system haskell-build-system)
(home-page "https://hackage.haskell.org/package/hostname")
(synopsis "Hostname in Haskell")
(description "Network.HostName is a simple package providing a means to
determine the hostname.")
(license bsd-3)))
(define-public ghc-prelude-extras (define-public ghc-prelude-extras
(package (package
(name "ghc-prelude-extras") (name "ghc-prelude-extras")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment