all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add cabal-install.
@ 2015-08-18 14:32 Siniša Biđin
  2015-08-25 21:27 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Siniša Biđin @ 2015-08-18 14:32 UTC (permalink / raw)
  To: guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-cabal-install.patch --]
[-- Type: text/x-diff; name=0001-gnu-Add-cabal-install.patch, Size: 1818 bytes --]

From 0d321519e9bce55956b2989c7814e36a9abe9421 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sini=C5=A1a=20Bi=C4=91in?= <sinisa@bidin.eu>
Date: Tue, 18 Aug 2015 16:19:11 +0200
Subject: [PATCH] gnu: Add cabal-install.

* gnu/packages/haskell.scm (cabal-install): New variable.
---
 gnu/packages/haskell.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 33eb1b5..b7a889e 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -238,6 +238,38 @@
 interactive environment for the functional language Haskell.")
     (license bsd-3)))
 
+(define-public cabal-install
+  (package
+    (name "cabal-install")
+    (version "1.18.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri
+         (string-append
+          "http://hackage.haskell.org/package/cabal-install/cabal-install-"
+          version
+          ".tar.gz"))
+        (sha256
+         (base32 "1r1shhvnpgxf91rmbv3wa1rkd24plbgr6bpz3aj80ir0z3zbdayn"))))
+    (arguments `(#:tests? #f))
+    (build-system haskell-build-system)
+    (propagated-inputs
+      `(("ghc-http" ,ghc-http)
+        ("ghc-mtl" ,ghc-mtl)
+        ("ghc-network-uri" ,ghc-network-uri)
+        ("ghc-network" ,ghc-network)
+        ("ghc-random" ,ghc-random)
+        ("ghc-stm" ,ghc-stm)
+        ("ghc-zlib" ,ghc-zlib)))
+    (home-page "http://www.haskell.org/cabal/")
+    (synopsis "The command-line interface for Cabal and Hackage.")
+    (description
+      "The cabal command-line program simplifies the process of managing
+Haskell software by automating the fetching, configuration, compilation and
+installation of Haskell libraries and programs.")
+    (license bsd-3)))
+
 (define-public ghc-mtl
   (package
     (name "ghc-mtl")
-- 
2.4.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-28  9:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-18 14:32 [PATCH] gnu: Add cabal-install Siniša Biđin
2015-08-25 21:27 ` Ludovic Courtès
2015-08-26  3:59   ` Siniša Biđin
2015-08-28  9:00     ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.