mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-14 19:05:10 -05:00
f54f04756f
* gnu/packages/agda.scm (agda)[inputs]: Remove ghc-mtl. * gnu/packages/games.scm (raincat)[inputs]: Remove ghc-mtl. * gnu/packages/haskell-check.scm (ghc-tasty-ant-xml, ghc-tasty-golden, ghc-tasty, ghc-tasty-kat, ghc-tasty-rerun, ghc-crypto-cipher-tests)[inputs]: Remove ghc-mtl. * gnu/packages/haskell-crypto.scm (ghc-asn1-encoding, ghc-pem, ghc-x509, ghc-x509-store, ghc-x509-validation, ghc-x509-system)[inputs]: Remove ghc-mtl. * gnu/packages/haskell-web.scm (ghc-http, ghc-http-conduit, ghc-yesod-core)[inputs]: Remove ghc-mtl. * gnu/packages/haskell.scm (ghc-convertible, ghc-libxml, ghc-cgi, ghc-happy, ghc-haskell-src-exts, ghc-resourcet, cabal-install, ghc-indents, ghc-regex-base, ghc-regex-tdfa-rc, ghc-trifecta, ghc-zip-archive, ghc-logict, ghc-exceptions, ghc-smallcheck, ghc-syb, ghc-fgl, ghc-chasingbottoms, ghc-parsec, ghc-megaparsec, ghc-edisonapi, ghc-edisoncore, ghc-mmorph, ghc-ifelse, ghc-kan-extensions, ghc-lens, ghc-cheapskate, ghc-free, ghc-adjunctions, ghc-equivalence, ghc-texmath, ghc-texmath-for-pandoc-1, ghc-highlighting-kate, ghc-th-reify-many, ghc-th-orphans, ghc-geniplate-mirror, ghc-conduit, ghc-filemanip, ghc-juicypixels, ghc-hslua, ghc-hourglass, ghc-skylighting, ghc-skylighting-for-pandoc-1, ghc-pandoc, ghc-pandoc-1, ghc-pandoc-citeproc, ghc-regex-tdfa, ghc-stmonadtrans, ghc-constraints, ghc-lifted-async, ghc-shelly, ghc-hslogger, ghc-json, shellcheck, ghc-vector-algorithms, ghc-monad-par-extras, ghc-monad-par, ghc-monadrandom, ghc-either, ghc-rebase, ghc-aws, ghc-monad-logger, ghc-persistent, ghc-bytes, ghc-missingh, ghc-operational, ghc-chart)[inputs]: Remove ghc-mtl. (ghc-conduit-combinators)[native-inputs]: Remove ghc-mtl. (ghc-mtl): Remove variable. * gnu/packages/idris.scm (idris)[inputs]: Remove ghc-mtl. * gnu/packages/tls.scm (ghc-tls)[inputs]: Remove ghc-mtl. * gnu/packages/version-control.scm (darcs, git-annex)[inputs]: Remove ghc-mtl. * gnu/packages/wm.scm (xmonad, ghc-xmonad-contrib)[inputs]: Remove ghc-mtl. * gnu/packages/xml.scm (ghc-hxt)[inputs]: Remove ghc-mtl.
115 lines
4.6 KiB
Scheme
115 lines
4.6 KiB
Scheme
;;; GNU Guix --- Functional package management for GNU
|
|
;;; Copyright © 2018 Alex ter Weele <alex.ter.weele@gmail.com>
|
|
;;;
|
|
;;; This file is part of GNU Guix.
|
|
;;;
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
;;; under the terms of the GNU General Public License as published by
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
;;; your option) any later version.
|
|
;;;
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
;;; GNU General Public License for more details.
|
|
;;;
|
|
;;; You should have received a copy of the GNU General Public License
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
(define-module (gnu packages agda)
|
|
#:use-module (gnu packages haskell)
|
|
#:use-module (gnu packages haskell-check)
|
|
#:use-module (gnu packages haskell-web)
|
|
#:use-module (guix build-system emacs)
|
|
#:use-module (guix build-system haskell)
|
|
#:use-module (guix build-system trivial)
|
|
#:use-module (guix download)
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
#:use-module (guix packages))
|
|
|
|
(define-public agda
|
|
(package
|
|
(name "agda")
|
|
(version "2.5.3")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (string-append
|
|
"https://hackage.haskell.org/package/Agda/Agda-"
|
|
version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"0r80vw7vnvbgq47y50v050malv7zvv2p2kg6f47i04r0b2ix855a"))))
|
|
(build-system haskell-build-system)
|
|
(inputs
|
|
`(("cpphs" ,cpphs)
|
|
("ghc-alex" ,ghc-alex)
|
|
("ghc-async" ,ghc-async)
|
|
("ghc-blaze-html" ,ghc-blaze-html)
|
|
("ghc-boxes" ,ghc-boxes)
|
|
("ghc-data-hash" ,ghc-data-hash)
|
|
("ghc-edisoncore" ,ghc-edisoncore)
|
|
("ghc-edit-distance" ,ghc-edit-distance)
|
|
("ghc-equivalence" ,ghc-equivalence)
|
|
("ghc-geniplate-mirror" ,ghc-geniplate-mirror)
|
|
("ghc-gitrev" ,ghc-gitrev)
|
|
("ghc-happy" ,ghc-happy)
|
|
("ghc-hashable" ,ghc-hashable)
|
|
("ghc-hashtables" ,ghc-hashtables)
|
|
("ghc-ieee754" ,ghc-ieee754)
|
|
("ghc-monadplus" ,ghc-monadplus)
|
|
("ghc-murmur-hash" ,ghc-murmur-hash)
|
|
("ghc-uri-encode" ,ghc-uri-encode)
|
|
("ghc-parallel" ,ghc-parallel)
|
|
("ghc-regex-tdfa" ,ghc-regex-tdfa)
|
|
("ghc-stm" ,ghc-stm)
|
|
("ghc-strict" ,ghc-strict)
|
|
("ghc-text" ,ghc-text)
|
|
("ghc-unordered-containers" ,ghc-unordered-containers)
|
|
("ghc-zlib" ,ghc-zlib)))
|
|
(arguments
|
|
`(#:modules ((guix build haskell-build-system)
|
|
(guix build utils)
|
|
(srfi srfi-26))
|
|
#:phases
|
|
(modify-phases %standard-phases
|
|
(add-after 'compile 'agda-compile
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
(agda-compiler (string-append out "/bin/agda")))
|
|
(for-each (cut invoke agda-compiler <>)
|
|
(find-files (string-append out "/share") "\\.agda$"))
|
|
#t))))))
|
|
(home-page "http://wiki.portal.chalmers.se/agda/")
|
|
(synopsis
|
|
"Dependently typed functional programming language and proof assistant")
|
|
(description
|
|
"Agda is a dependently typed functional programming language: it has
|
|
inductive families, which are similar to Haskell's GADTs, but they can be
|
|
indexed by values and not just types. It also has parameterised modules,
|
|
mixfix operators, Unicode characters, and an interactive Emacs interface (the
|
|
type checker can assist in the development of your code). Agda is also a
|
|
proof assistant: it is an interactive system for writing and checking proofs.
|
|
Agda is based on intuitionistic type theory, a foundational system for
|
|
constructive mathematics developed by the Swedish logician Per Martin-Löf. It
|
|
has many similarities with other proof assistants based on dependent types,
|
|
such as Coq, Epigram and NuPRL.")
|
|
;; Agda is distributed under the MIT license, and a couple of
|
|
;; source files are BSD-3. See LICENSE for details.
|
|
(license (list license:expat license:bsd-3))))
|
|
|
|
(define-public emacs-agda2-mode
|
|
(package
|
|
(inherit agda)
|
|
(name "emacs-agda2-mode")
|
|
(build-system emacs-build-system)
|
|
(inputs '())
|
|
(arguments
|
|
`(#:phases
|
|
(modify-phases %standard-phases
|
|
(add-after 'unpack 'enter-elisp-dir
|
|
(lambda _ (chdir "src/data/emacs-mode") #t)))))
|
|
(home-page "https://agda.readthedocs.io/en/latest/tools/emacs-mode.html")
|
|
(synopsis "Emacs mode for Agda")
|
|
(description "This Emacs mode enables interactive development with
|
|
Agda. It also aids the input of Unicode characters.")))
|