[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/24: gnu: Add ghc-hpack.
From: |
Ricardo Wurmus |
Subject: |
15/24: gnu: Add ghc-hpack. |
Date: |
Fri, 5 Oct 2018 17:59:49 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 5e6bf3e2da6934daeadc36afeb8e09f105754efe
Author: Ricardo Wurmus <address@hidden>
Date: Tue Oct 2 18:15:04 2018 +0200
gnu: Add ghc-hpack.
* gnu/packages/haskell.scm (ghc-hpack): New variable.
---
gnu/packages/haskell.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 8a33cbd..9a5f7c9 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -10999,6 +10999,51 @@ level asynchronous processing and some other
utilities.")
Haskell.")
(license license:expat)))
+(define-public ghc-hpack
+ (package
+ (name "ghc-hpack")
+ (version "0.28.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/hpack/"
+ "hpack-" version ".tar.gz"))
+ (sha256
+ (base32
+ "18w0h76jdp3mk9vin8da9iz3cwhcxmw787xy8wlh8bxcpcr16q5r"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-aeson" ,ghc-aeson)
+ ("ghc-bifunctors" ,ghc-bifunctors)
+ ("ghc-cryptonite" ,ghc-cryptonite)
+ ("ghc-glob" ,ghc-glob)
+ ("ghc-http-client" ,ghc-http-client)
+ ("ghc-http-client-tls" ,ghc-http-client-tls)
+ ("ghc-http-types" ,ghc-http-types)
+ ("ghc-scientific" ,ghc-scientific)
+ ("ghc-text" ,ghc-text)
+ ("ghc-unordered-containers" ,ghc-unordered-containers)
+ ("ghc-vector" ,ghc-vector)
+ ("ghc-yaml" ,ghc-yaml)))
+ (native-inputs
+ `(("ghc-hspec" ,ghc-hspec)
+ ("ghc-hunit" ,ghc-hunit)
+ ("ghc-interpolate" ,ghc-interpolate)
+ ("ghc-mockery" ,ghc-mockery)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-temporary" ,ghc-temporary)
+ ("hspec-discover" ,hspec-discover)))
+ (home-page "https://github.com/sol/hpack")
+ (synopsis "Tools for an alternative Haskell package format")
+ (description
+ "Hpack is a format for Haskell packages. It is an alternative to the
+Cabal package format and follows different design principles. Hpack packages
+are described in a file named @code{package.yaml}. Both @code{cabal2nix} and
address@hidden support @code{package.yaml} natively. For other build tools the
address@hidden executable can be used to generate a @code{.cabal} file from
address@hidden")
+ (license license:expat)))
+
(define-public ghc-weigh
(package
(name "ghc-weigh")
- 20/24: gnu: Add ghc-bytestring-lexing., (continued)
- 20/24: gnu: Add ghc-bytestring-lexing., Ricardo Wurmus, 2018/10/05
- 18/24: gnu: Add ghc-safe-exceptions., Ricardo Wurmus, 2018/10/05
- 23/24: gnu: Add ghc-safeio., Ricardo Wurmus, 2018/10/05
- 04/24: gnu: Add ghc-chart-cairo., Ricardo Wurmus, 2018/10/05
- 05/24: gnu: Add ghc-atomic-write., Ricardo Wurmus, 2018/10/05
- 06/24: gnu: Add ghc-cereal-conduit., Ricardo Wurmus, 2018/10/05
- 07/24: gnu: Add ghc-lzma., Ricardo Wurmus, 2018/10/05
- 16/24: gnu: Add ghc-raw-string-qq., Ricardo Wurmus, 2018/10/05
- 17/24: gnu: Add ghc-inline-c., Ricardo Wurmus, 2018/10/05
- 14/24: gnu: Add ghc-interpolate., Ricardo Wurmus, 2018/10/05
- 15/24: gnu: Add ghc-hpack.,
Ricardo Wurmus <=
- 24/24: gnu: Add ngless., Ricardo Wurmus, 2018/10/05
- 22/24: gnu: Add ghc-file-embed., Ricardo Wurmus, 2018/10/05
- 21/24: gnu: Add ghc-configurator., Ricardo Wurmus, 2018/10/05
- 19/24: gnu: Add ghc-inline-c-cpp., Ricardo Wurmus, 2018/10/05