[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
131/154: gnu: Add Idris.
From: |
Paul |
Subject: |
131/154: gnu: Add Idris. |
Date: |
Thu, 22 Oct 2015 16:16:02 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit 2d735d7efc790b19e5f12cda8edffd967f7aa3e0
Author: Paul van der Walt <address@hidden>
Date: Thu Oct 15 17:14:44 2015 +0200
gnu: Add Idris.
* gnu/packages/haskell.scm (idris): New variable.
---
gnu/packages/haskell.scm | 62 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 62 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 3f0c72f..8d2aba1 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -32,6 +32,7 @@
#:use-module (gnu packages elf)
#:use-module (gnu packages bootstrap)
#:use-module (gnu packages zip)
+ #:use-module (gnu packages gcc)
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages libffi)
#:use-module (gnu packages libedit)
@@ -4246,4 +4247,65 @@ communication between web applications and web servers.")
functionality.")
(license expat)))
+(define-public idris
+ (package
+ (name "idris")
+ (version "0.9.19.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/idris-"
+ version "/idris-" version ".tar.gz"))
+ (sha256
+ (base32
+ "10641svdsjlxbxmbvylpia04cz5nn9486lpiay8ibqcrc1792qgc"))))
+ (build-system haskell-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'allow-newer-vector
+ (lambda _
+ ;; Package description file has a too-tight
+ ;; version restriction, rendering it
+ ;; incompatible with GHC 7.10.2. This is
+ ;; fixed upstream.
+ (substitute* "idris.cabal"
+ (("vector < 0.11") "vector < 0.12"))))
+ (add-before 'configure 'patch-cc-command
+ (lambda _
+ (setenv "CC" "gcc"))))))
+ (inputs
+ `(("gmp" ,gmp)
+ ("ncurses" ,ncurses)
+ ("ghc-annotated-wl-pprint" ,ghc-annotated-wl-pprint)
+ ("ghc-ansi-terminal" ,ghc-ansi-terminal)
+ ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
+ ("ghc-base64-bytestring" ,ghc-base64-bytestring)
+ ("ghc-blaze-html" ,ghc-blaze-html)
+ ("ghc-blaze-markup" ,ghc-blaze-markup)
+ ("ghc-cheapskate" ,ghc-cheapskate)
+ ("ghc-fingertree" ,ghc-fingertree)
+ ("ghc-mtl" ,ghc-mtl)
+ ("ghc-network" ,ghc-network)
+ ("ghc-optparse-applicative" ,ghc-optparse-applicative)
+ ("ghc-parsers" ,ghc-parsers)
+ ("ghc-safe" ,ghc-safe)
+ ("ghc-split" ,ghc-split)
+ ("ghc-text" ,ghc-text)
+ ("ghc-trifecta" ,ghc-trifecta)
+ ("ghc-uniplate" ,ghc-uniplate)
+ ("ghc-unordered-containers" ,ghc-unordered-containers)
+ ("ghc-utf8-string" ,ghc-utf8-string)
+ ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)
+ ("ghc-vector" ,ghc-vector)
+ ("ghc-zip-archive" ,ghc-zip-archive)
+ ("ghc-zlib" ,ghc-zlib)))
+ (home-page "http://www.idris-lang.org")
+ (synopsis "General purpose language with full dependent types")
+ (description "Idris is a general purpose language with full dependent
+types. It is compiled, with eager evaluation. Dependent types allow types to
+be predicated on values, meaning that some aspects of a program's behaviour
+can be specified precisely in the type. The language is closely related to
+Epigram and Agda.")
+ (license bsd-3)))
+
;;; haskell.scm ends here
- 121/154: gnu: Add ghc-parsers., (continued)
- 121/154: gnu: Add ghc-parsers., Paul, 2015/10/22
- 120/154: gnu: Add ghc-xss-sanitize., Paul, 2015/10/22
- 124/154: gnu: Add ghc-wai-logger., Paul, 2015/10/22
- 134/154: gnu: Add ghc-haddock., Paul, 2015/10/22
- 135/154: gnu: Add ghc-alex., Paul, 2015/10/22
- 130/154: gnu: Add ghc-trifecta., Paul, 2015/10/22
- 132/154: gnu: Add ghc-haddock-library., Paul, 2015/10/22
- 136/154: gnu: Add ghc-multipart., Paul, 2015/10/22
- 137/154: gnu: Add ghc-cgi., Paul, 2015/10/22
- 123/154: gnu: Add ghc-wai., Paul, 2015/10/22
- 131/154: gnu: Add Idris.,
Paul <=
- 125/154: gnu: Add ghc-wai-extra., Paul, 2015/10/22
- 127/154: gnu: Add ghc-kan-extensions., Paul, 2015/10/22
- 133/154: gnu: Add ghc-haddock-api., Paul, 2015/10/22
- 141/154: gnu: Add ghc-regex-posix., Paul, 2015/10/22
- 143/154: gnu: Add ghc-half., Paul, 2015/10/22
- 144/154: gnu: Add ghc-openglraw., Paul, 2015/10/22
- 148/154: gnu: Add ghc-glut., Paul, 2015/10/22
- 154/154: import: hackage: Fix grammar., Paul, 2015/10/22
- 138/154: gnu: Add ghc-html., Paul, 2015/10/22
- 153/154: import: hackage: Update GHC libraries for 7.10.2., Paul, 2015/10/22