2018-12-19 10:12:23 -05:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2021-07-05 15:32:33 -04:00
|
|
|
|
;;; Copyright © 2018-2021 Julien Lepiller <julien@lepiller.eu>
|
2019-06-06 12:40:56 -04:00
|
|
|
|
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
|
2019-02-03 10:14:12 -05:00
|
|
|
|
;;; Copyright © 2019 Dan Frumin <dfrumin@cs.ru.nl>
|
2020-01-05 18:06:02 -05:00
|
|
|
|
;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
|
2020-03-05 04:02:40 -05:00
|
|
|
|
;;; Copyright © 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
|
2020-09-06 13:11:32 -04:00
|
|
|
|
;;; Copyright © 2020 raingloom <raingloom@riseup.net>
|
2020-09-13 10:12:18 -04:00
|
|
|
|
;;; Copyright © 2020 Robin Green <greenrd@greenrd.org>
|
2021-06-10 09:30:06 -04:00
|
|
|
|
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
|
2021-11-16 13:51:50 -05:00
|
|
|
|
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
|
2022-09-07 14:33:39 -04:00
|
|
|
|
;;; Copyright © 2022 Garek Dyszel <garekdyszel@disroot.org>
|
2024-05-07 11:57:18 -04:00
|
|
|
|
;;; Copyright © 2024 Foundation Devices, Inc. <hello@foundation.xyz>
|
2024-09-12 01:26:57 -04:00
|
|
|
|
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
|
2018-12-19 10:12:23 -05:00
|
|
|
|
;;;
|
|
|
|
|
;;; 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 coq)
|
|
|
|
|
#:use-module (gnu packages)
|
2020-01-06 02:35:55 -05:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2018-12-19 10:12:23 -05:00
|
|
|
|
#:use-module (gnu packages base)
|
|
|
|
|
#:use-module (gnu packages bison)
|
|
|
|
|
#:use-module (gnu packages boost)
|
2024-01-10 02:43:10 -05:00
|
|
|
|
#:use-module (gnu packages compression)
|
2018-12-19 10:12:23 -05:00
|
|
|
|
#:use-module (gnu packages emacs)
|
|
|
|
|
#:use-module (gnu packages flex)
|
2019-05-22 07:33:23 -04:00
|
|
|
|
#:use-module (gnu packages gawk)
|
2018-12-19 10:12:23 -05:00
|
|
|
|
#:use-module (gnu packages multiprecision)
|
|
|
|
|
#:use-module (gnu packages ocaml)
|
|
|
|
|
#:use-module (gnu packages perl)
|
|
|
|
|
#:use-module (gnu packages python)
|
2020-09-13 10:12:18 -04:00
|
|
|
|
#:use-module (gnu packages rsync)
|
2018-12-19 10:12:23 -05:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
2021-07-05 15:32:33 -04:00
|
|
|
|
#:use-module (guix build-system dune)
|
2018-12-19 10:12:23 -05:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2023-09-08 06:34:21 -04:00
|
|
|
|
#:use-module (guix build-system trivial)
|
2018-12-19 10:12:23 -05:00
|
|
|
|
#:use-module (guix download)
|
2022-09-07 14:33:46 -04:00
|
|
|
|
#:use-module (guix gexp)
|
2019-02-03 10:14:12 -05:00
|
|
|
|
#:use-module (guix git-download)
|
2018-12-19 10:12:23 -05:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix utils)
|
|
|
|
|
#:use-module ((srfi srfi-1) #:hide (zip)))
|
|
|
|
|
|
2024-01-10 02:43:10 -05:00
|
|
|
|
(define-public coq
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(package
|
2024-01-10 02:43:10 -05:00
|
|
|
|
(name "coq")
|
2024-08-20 06:31:19 -04:00
|
|
|
|
(version "8.18.0")
|
2018-12-23 05:06:13 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/coq/coq")
|
2018-12-23 05:06:13 -05:00
|
|
|
|
(commit (string-append "V" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-01-06 02:32:09 -05:00
|
|
|
|
(base32
|
2024-08-20 06:31:19 -04:00
|
|
|
|
"1qy71gdr4s2l6847b4nwns6akib2f7l725zb01m7zc26n6mrrh1m"))))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "COQPATH")
|
2024-01-10 02:43:10 -05:00
|
|
|
|
(files (list "lib/coq/user-contrib")))))
|
2021-07-05 15:32:33 -04:00
|
|
|
|
(build-system dune-build-system)
|
2024-01-10 02:43:10 -05:00
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:package "coq-core,coq-stdlib,coq"
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(coqlib (string-append out "/lib/ocaml/site-lib/coq/")))
|
|
|
|
|
(invoke "./configure" "-prefix" out
|
|
|
|
|
"-libdir" coqlib))))
|
|
|
|
|
(add-before 'build 'make-dunestrap
|
|
|
|
|
(lambda _ (invoke "make" "dunestrap")))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(libdir (string-append out "/lib/ocaml/site-lib")))
|
|
|
|
|
(invoke "dune" "install" "--prefix" out
|
|
|
|
|
"--libdir" libdir "coq" "coq-core" "coq-stdlib")))))))
|
2024-08-20 06:31:18 -04:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list ocaml-zarith))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(inputs
|
2024-08-20 06:31:18 -04:00
|
|
|
|
(list gmp))
|
2019-05-04 12:23:20 -04:00
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list ocaml-ounit2 which))
|
2021-11-28 10:42:56 -05:00
|
|
|
|
(properties '((upstream-name . "coq"))) ; also for inherited packages
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(home-page "https://coq.inria.fr")
|
|
|
|
|
(synopsis "Proof assistant for higher-order logic")
|
|
|
|
|
(description
|
|
|
|
|
"Coq is a proof assistant for higher-order logic, which allows the
|
|
|
|
|
development of computer programs consistent with their formal specification.
|
|
|
|
|
It is developed using Objective Caml and Camlp5.")
|
2020-01-06 02:34:23 -05:00
|
|
|
|
;; The source code is distributed under lgpl2.1.
|
2018-12-19 10:12:23 -05:00
|
|
|
|
;; Some of the documentation is distributed under opl1.0+.
|
|
|
|
|
(license (list license:lgpl2.1 license:opl1.0+))))
|
|
|
|
|
|
2021-07-05 15:32:33 -04:00
|
|
|
|
(define-public coq-ide-server
|
|
|
|
|
(package
|
|
|
|
|
(inherit coq)
|
|
|
|
|
(name "coq-ide-server")
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:package "coqide-server"))
|
|
|
|
|
(inputs
|
2024-08-20 06:31:18 -04:00
|
|
|
|
(list coq gmp))))
|
2021-07-05 15:32:33 -04:00
|
|
|
|
|
|
|
|
|
(define-public coq-ide
|
|
|
|
|
(package
|
|
|
|
|
(inherit coq)
|
|
|
|
|
(name "coq-ide")
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:package "coqide"))
|
|
|
|
|
(propagated-inputs
|
2024-01-10 02:43:10 -05:00
|
|
|
|
(list coq coq-ide-server zlib))
|
2021-07-05 15:32:33 -04:00
|
|
|
|
(inputs
|
2022-09-19 13:38:16 -04:00
|
|
|
|
(list lablgtk3 ocaml-lablgtk3-sourceview3))))
|
2021-07-05 15:32:33 -04:00
|
|
|
|
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(define-public proof-general
|
2024-06-18 05:08:44 -04:00
|
|
|
|
;; The latest release is from 2022 and there has been more than 100 commits
|
2021-06-10 09:30:06 -04:00
|
|
|
|
;; since then.
|
2024-06-18 05:08:44 -04:00
|
|
|
|
;; Commit from 2024-04-29.
|
|
|
|
|
(let ((commit "cb23709ad0c9a9ca0ee48b3ee73c29caea243b98")
|
2021-11-28 11:41:19 -05:00
|
|
|
|
(revision "1"))
|
2021-06-10 09:30:06 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "proof-general")
|
2024-06-18 05:08:44 -04:00
|
|
|
|
(version (git-version "4.5" revision commit))
|
2021-06-10 09:30:06 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ProofGeneral/PG")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-06-18 05:08:44 -04:00
|
|
|
|
"1spd8rz95s1x91i4lbbb6zabb8014fihx6ai6pgad1nwyr0y9bir"))))
|
2021-06-10 09:30:06 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-11-10 14:37:48 -05:00
|
|
|
|
`(("emacs" ,emacs-minimal)
|
2021-06-10 09:30:06 -04:00
|
|
|
|
("texinfo" ,texinfo)))
|
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list perl))
|
2021-06-10 09:30:06 -04:00
|
|
|
|
(arguments
|
2021-11-10 14:37:48 -05:00
|
|
|
|
(let ((base-directory "/share/emacs/site-lisp/ProofGeneral"))
|
|
|
|
|
`(#:tests? #f ; no check target
|
|
|
|
|
#:make-flags (list (string-append "PREFIX=" %output)
|
|
|
|
|
(string-append "EMACS=" (assoc-ref %build-inputs "emacs")
|
|
|
|
|
"/bin/emacs")
|
|
|
|
|
(string-append "DEST_PREFIX=" %output)
|
|
|
|
|
(string-append "ELISP=" %output ,base-directory)
|
|
|
|
|
(string-append "DEST_ELISP=" %output ,base-directory)
|
|
|
|
|
(string-append "ELISP_START=" %output ,base-directory))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'unpack 'disable-byte-compile-error-on-warn
|
|
|
|
|
(lambda _
|
2021-06-10 09:30:06 -04:00
|
|
|
|
(substitute* "Makefile"
|
2021-11-10 14:37:48 -05:00
|
|
|
|
(("\\(setq byte-compile-error-on-warn t\\)")
|
|
|
|
|
"(setq byte-compile-error-on-warn nil)"))))
|
2024-06-18 05:08:44 -04:00
|
|
|
|
(add-after 'unpack 'modify-readme-name
|
|
|
|
|
;; The README file is called "README.md", but the Make variable
|
|
|
|
|
;; "DOC_FILES" still refers to "README".
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("README") "README.md"))))
|
2021-11-10 14:37:48 -05:00
|
|
|
|
(add-after 'unpack 'patch-hardcoded-paths
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/sbin/install-info") "install-info"))))
|
|
|
|
|
(add-after 'unpack 'remove-which
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("`which perl`") "perl")
|
|
|
|
|
(("`which bash`") "bash"))))
|
|
|
|
|
(add-after 'unpack 'clean
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Delete the pre-compiled elc files for Emacs 23.
|
|
|
|
|
(invoke "make" "clean")))
|
|
|
|
|
(add-after 'install 'install-doc
|
|
|
|
|
(lambda* (#:key make-flags #:allow-other-keys)
|
|
|
|
|
;; XXX FIXME avoid building/installing pdf files,
|
|
|
|
|
;; due to unresolved errors building them.
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
((" [^ ]*\\.pdf") ""))
|
|
|
|
|
(apply invoke "make" "install-doc" make-flags)))
|
|
|
|
|
(add-after 'install 'allow-subfolders-autoloads
|
|
|
|
|
;; Autoload cookies are present in sub-directories. A friendly
|
|
|
|
|
;; wrapper proof-general.el around generic/proof-site.el is
|
|
|
|
|
;; provided for execution on Emacs start-up. It serves two
|
|
|
|
|
;; purposes:
|
|
|
|
|
;;
|
|
|
|
|
;; * Setting up the load path when byte-compiling pg.
|
|
|
|
|
;; * Loading a minimal PG setup on startup (not all of Proof
|
|
|
|
|
;; General, of course; mostly mode hooks and autoloads).
|
|
|
|
|
;;
|
|
|
|
|
;; The renaming to proof-general-autoloads.el is Guix
|
|
|
|
|
;; specific.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(copy-file "proof-general.el"
|
|
|
|
|
(string-append out ,base-directory
|
|
|
|
|
"/proof-general-autoloads.el")))))))))
|
2021-06-10 09:30:06 -04:00
|
|
|
|
(home-page "https://proofgeneral.github.io/")
|
|
|
|
|
(synopsis "Generic front-end for proof assistants based on Emacs")
|
|
|
|
|
(description
|
|
|
|
|
"Proof General is a major mode to turn Emacs into an interactive proof
|
2018-12-19 10:12:23 -05:00
|
|
|
|
assistant to write formal mathematical proofs using a variety of theorem
|
|
|
|
|
provers.")
|
2021-11-28 11:41:19 -05:00
|
|
|
|
(license license:gpl3+))))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
|
|
|
|
|
(define-public coq-flocq
|
|
|
|
|
(package
|
|
|
|
|
(name "coq-flocq")
|
2024-05-07 11:57:18 -04:00
|
|
|
|
(version "4.1.4")
|
2020-01-06 02:35:55 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.inria.fr/flocq/flocq.git")
|
|
|
|
|
(commit (string-append "flocq-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-05-07 11:57:18 -04:00
|
|
|
|
"08vrh0h909vmam1b4gfrvcmamnhmr5g0x79zx98hn7cx0vdwysh7"))))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list autoconf automake ocaml which coq))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2021-11-21 10:48:35 -05:00
|
|
|
|
(list (string-append "COQUSERCONTRIB=" (assoc-ref %outputs "out")
|
|
|
|
|
"/lib/coq/user-contrib"))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'fix-remake
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "remake.cpp"
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
2019-03-15 08:16:24 -04:00
|
|
|
|
(invoke "./remake")))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
2019-03-15 08:16:24 -04:00
|
|
|
|
(invoke "./remake" "check")))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
;; TODO: requires coq-gappa and coq-interval.
|
|
|
|
|
;(invoke "./remake" "check-more")
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda _
|
2019-03-15 08:16:24 -04:00
|
|
|
|
(invoke "./remake" "install"))))))
|
2021-11-19 18:36:57 -05:00
|
|
|
|
(home-page "https://flocq.gitlabpages.inria.fr")
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(synopsis "Floating-point formalization for the Coq system")
|
|
|
|
|
(description "Flocq (Floats for Coq) is a floating-point formalization for
|
|
|
|
|
the Coq system. It provides a comprehensive library of theorems on a multi-radix
|
|
|
|
|
multi-precision arithmetic. It also supports efficient numerical computations
|
|
|
|
|
inside Coq.")
|
|
|
|
|
(license license:lgpl3+)))
|
|
|
|
|
|
2023-09-08 06:34:21 -04:00
|
|
|
|
;; Union of coq and coq-ide-server as vim-coqtail expects coqc and coqidetop
|
|
|
|
|
;; to be in the same bin folder, when vim-coqtail is installed coqc and
|
|
|
|
|
;; coqidetop will be in the "same" bin folder in the profile, so this is only
|
|
|
|
|
;; required for testing the package.
|
|
|
|
|
;;
|
|
|
|
|
;; This is deeply ingrained in the internals of vim-coqtail so this is why
|
|
|
|
|
;; it's necessary.
|
|
|
|
|
(define-public coq-for-coqtail
|
|
|
|
|
(hidden-package
|
|
|
|
|
(package
|
|
|
|
|
(inherit coq)
|
|
|
|
|
(name "coq-for-coqtail")
|
|
|
|
|
(source #f)
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:modules ((guix build union))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (ice-9 match)
|
|
|
|
|
(guix build union))
|
|
|
|
|
(match %build-inputs
|
|
|
|
|
(((names . directories) ...)
|
|
|
|
|
(union-build (assoc-ref %outputs "out")
|
|
|
|
|
directories))))))
|
|
|
|
|
(inputs (list coq coq-ide-server)))))
|
|
|
|
|
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(define-public coq-gappa
|
|
|
|
|
(package
|
|
|
|
|
(name "coq-gappa")
|
2024-06-12 04:57:10 -04:00
|
|
|
|
(version "1.5.5")
|
2020-01-06 02:37:59 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.inria.fr/gappa/coq.git")
|
|
|
|
|
(commit (string-append "gappalib-coq-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-06-12 04:57:10 -04:00
|
|
|
|
"0w780wk10khzfx6d633dyzx9q0hvqgimqbzc3irjzvsbpvb0zm5c"))))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list autoconf
|
|
|
|
|
automake
|
|
|
|
|
ocaml
|
|
|
|
|
which
|
|
|
|
|
coq
|
|
|
|
|
camlp5
|
|
|
|
|
bison
|
|
|
|
|
flex))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(inputs
|
2024-08-20 06:31:18 -04:00
|
|
|
|
(list gmp mpfr boost))
|
2020-01-06 02:37:59 -05:00
|
|
|
|
(propagated-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list coq-flocq))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2021-07-05 15:32:33 -04:00
|
|
|
|
(list (string-append "COQUSERCONTRIB=" (assoc-ref %outputs "out")
|
2022-09-19 15:06:07 -04:00
|
|
|
|
"/lib/coq/user-contrib")
|
|
|
|
|
(string-append "OCAMLFIND_DESTDIR=" (assoc-ref %outputs "out")
|
|
|
|
|
"/lib/ocaml/site-lib"))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'fix-remake
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "remake.cpp"
|
2019-01-25 03:26:29 -05:00
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
#t))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(replace 'build
|
2019-01-25 03:26:29 -05:00
|
|
|
|
(lambda _ (invoke "./remake")))
|
2020-01-06 02:37:59 -05:00
|
|
|
|
;; FIXME: Figure out why failures occur, and re-enable check phase.
|
|
|
|
|
(delete 'check)
|
|
|
|
|
;; (replace 'check
|
|
|
|
|
;; (lambda _ (invoke "./remake" "check")))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(replace 'install
|
2019-01-25 03:26:29 -05:00
|
|
|
|
(lambda _ (invoke "./remake" "install"))))))
|
2021-11-19 18:36:57 -05:00
|
|
|
|
(home-page "https://gappa.gitlabpages.inria.fr/")
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(synopsis "Verify and formally prove properties on numerical programs")
|
|
|
|
|
(description "Gappa is a tool intended to help verifying and formally proving
|
|
|
|
|
properties on numerical programs dealing with floating-point or fixed-point
|
|
|
|
|
arithmetic. It has been used to write robust floating-point filters for CGAL
|
|
|
|
|
and it is used to certify elementary functions in CRlibm. While Gappa is
|
|
|
|
|
intended to be used directly, it can also act as a backend prover for the Why3
|
|
|
|
|
software verification plateform or as an automatic tactic for the Coq proof
|
|
|
|
|
assistant.")
|
|
|
|
|
(license (list license:gpl2+ license:cecill))));either gpl2+ or cecill
|
|
|
|
|
|
|
|
|
|
(define-public coq-mathcomp
|
|
|
|
|
(package
|
|
|
|
|
(name "coq-mathcomp")
|
2024-06-12 04:57:12 -04:00
|
|
|
|
(version "1.19.0")
|
2018-12-23 05:11:33 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/math-comp/math-comp")
|
2018-12-23 05:11:33 -05:00
|
|
|
|
(commit (string-append "mathcomp-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2024-06-12 04:57:12 -04:00
|
|
|
|
(base32 "0dij9zl2ag083dzgrv2j16ks2kkn2xxwnk1wr5956zw1y7ynrzb3"))))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list ocaml which coq))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(arguments
|
2020-01-05 18:06:02 -05:00
|
|
|
|
`(#:tests? #f ; No tests.
|
2021-11-16 13:51:51 -05:00
|
|
|
|
#:make-flags (list (string-append "COQLIBINSTALL="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib/coq/user-contrib"))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-before 'build 'chdir
|
2021-11-16 13:51:51 -05:00
|
|
|
|
(lambda _ (chdir "mathcomp") #t)))))
|
2020-03-05 04:02:40 -05:00
|
|
|
|
(home-page "https://math-comp.github.io/")
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(synopsis "Mathematical Components for Coq")
|
|
|
|
|
(description "Mathematical Components for Coq has its origins in the formal
|
|
|
|
|
proof of the Four Colour Theorem. Since then it has grown to cover many areas
|
|
|
|
|
of mathematics and has been used for large scale projects like the formal proof
|
|
|
|
|
of the Odd Order Theorem.
|
|
|
|
|
|
|
|
|
|
The library is written using the Ssreflect proof language that is an integral
|
|
|
|
|
part of the distribution.")
|
|
|
|
|
(license license:cecill-b)))
|
|
|
|
|
|
|
|
|
|
(define-public coq-coquelicot
|
|
|
|
|
(package
|
|
|
|
|
(name "coq-coquelicot")
|
2024-06-12 04:57:09 -04:00
|
|
|
|
(version "3.4.1")
|
2020-01-06 02:39:52 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.inria.fr/coquelicot/coquelicot.git")
|
|
|
|
|
(commit (string-append "coquelicot-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-06-12 04:57:09 -04:00
|
|
|
|
"1y22dqdklh3c8rbhar0d7mzaj84q6zyfik7namx5q4ma76s2rx73"))))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list autoconf automake ocaml which coq))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("mathcomp" ,coq-mathcomp)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2021-11-21 11:32:02 -05:00
|
|
|
|
(list (string-append "COQUSERCONTRIB=" (assoc-ref %outputs "out")
|
|
|
|
|
"/lib/coq/user-contrib"))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'fix-remake
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "remake.cpp"
|
2019-01-25 05:39:57 -05:00
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
#t))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(replace 'build
|
2019-01-25 05:39:57 -05:00
|
|
|
|
(lambda _ (invoke "./remake")))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(replace 'check
|
2019-01-25 05:39:57 -05:00
|
|
|
|
(lambda _ (invoke "./remake" "check")))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(replace 'install
|
2019-01-25 05:39:57 -05:00
|
|
|
|
(lambda _ (invoke "./remake" "install"))))))
|
2020-01-06 02:40:27 -05:00
|
|
|
|
(home-page "http://coquelicot.saclay.inria.fr")
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(synopsis "Coq library for Reals")
|
|
|
|
|
(description "Coquelicot is an easier way of writing formulas and theorem
|
|
|
|
|
statements, achieved by relying on total functions in place of dependent types
|
|
|
|
|
for limits, derivatives, integrals, power series, and so on. To help with the
|
|
|
|
|
proof process, the library comes with a comprehensive set of theorems that cover
|
|
|
|
|
not only these notions, but also some extensions such as parametric integrals,
|
|
|
|
|
two-dimensional differentiability, asymptotic behaviors. It also offers some
|
|
|
|
|
automations for performing differentiability proofs. Moreover, Coquelicot is a
|
|
|
|
|
conservative extension of Coq's standard library and provides correspondence
|
|
|
|
|
theorems between the two libraries.")
|
|
|
|
|
(license license:lgpl3+)))
|
|
|
|
|
|
|
|
|
|
(define-public coq-bignums
|
|
|
|
|
(package
|
|
|
|
|
(name "coq-bignums")
|
2024-09-12 01:24:29 -04:00
|
|
|
|
(version "9.0.0+coq8.18")
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(source (origin
|
2019-11-24 16:57:52 -05:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2024-09-12 01:26:57 -04:00
|
|
|
|
(url "https://github.com/coq/bignums")
|
|
|
|
|
(commit (string-append "v" version))))
|
2019-11-24 16:57:52 -05:00
|
|
|
|
(file-name (git-file-name name version))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-09-12 01:24:29 -04:00
|
|
|
|
"1vw1a498fhyrpm884rlm3r4lw4mg4l6b9xj8w4y875sacg88kdxw"))))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list ocaml coq))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(inputs
|
2024-08-20 06:31:18 -04:00
|
|
|
|
(list camlp5))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(arguments
|
2024-09-12 01:26:57 -04:00
|
|
|
|
(list #:tests? #f ; No test target.
|
|
|
|
|
#:make-flags
|
|
|
|
|
#~(list (string-append "COQLIBINSTALL=" #$output
|
|
|
|
|
"/lib/coq/user-contrib")
|
|
|
|
|
(string-append "COQPLUGININSTALL=" #$output
|
|
|
|
|
"/lib/ocaml/site-lib/"))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(home-page "https://github.com/coq/bignums")
|
|
|
|
|
(synopsis "Coq library for arbitrary large numbers")
|
|
|
|
|
(description "Bignums is a coq library of arbitrary large numbers. It
|
|
|
|
|
provides BigN, BigZ, BigQ that used to be part of Coq standard library.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
|
|
|
|
(define-public coq-interval
|
|
|
|
|
(package
|
|
|
|
|
(name "coq-interval")
|
2024-06-12 04:57:11 -04:00
|
|
|
|
(version "4.10.0")
|
2020-01-06 03:19:57 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.inria.fr/coqinterval/interval.git")
|
|
|
|
|
(commit (string-append "interval-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-06-12 04:57:11 -04:00
|
|
|
|
"039c29hc8mzp2is6zh9fps36k03hlvx6zz08h03vj6dhjgr7njz8"))))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list autoconf automake ocaml which coq))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("flocq" ,coq-flocq)
|
|
|
|
|
("bignums" ,coq-bignums)
|
|
|
|
|
("coquelicot" ,coq-coquelicot)
|
2024-08-20 06:31:18 -04:00
|
|
|
|
("mathcomp" ,coq-mathcomp)))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2021-07-05 15:32:33 -04:00
|
|
|
|
(list (string-append "COQUSERCONTRIB=" (assoc-ref %outputs "out")
|
2022-09-19 16:05:18 -04:00
|
|
|
|
"/lib/coq/user-contrib")
|
|
|
|
|
(string-append "OCAMLFIND_DESTDIR=" (assoc-ref %outputs "out")
|
|
|
|
|
"/lib/ocaml/site-lib"))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'fix-remake
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "remake.cpp"
|
2019-01-25 05:43:42 -05:00
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
#t))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(replace 'build
|
2019-01-25 05:43:42 -05:00
|
|
|
|
(lambda _ (invoke "./remake")))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(replace 'check
|
2019-01-25 05:43:42 -05:00
|
|
|
|
(lambda _ (invoke "./remake" "check")))
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(replace 'install
|
2019-01-25 05:43:42 -05:00
|
|
|
|
(lambda _ (invoke "./remake" "install"))))))
|
2021-11-19 18:37:46 -05:00
|
|
|
|
(home-page "https://coqinterval.gitlabpages.inria.fr/")
|
2018-12-19 10:12:23 -05:00
|
|
|
|
(synopsis "Coq tactics to simplify inequality proofs")
|
|
|
|
|
(description "Interval provides vernacular files containing tactics for
|
|
|
|
|
simplifying the proofs of inequalities on expressions of real numbers for the
|
|
|
|
|
Coq proof assistant.")
|
|
|
|
|
(license license:cecill-c)))
|
2019-02-03 10:14:12 -05:00
|
|
|
|
|
|
|
|
|
(define-public coq-autosubst
|
2024-01-10 02:43:07 -05:00
|
|
|
|
(package
|
|
|
|
|
(name "coq-autosubst")
|
|
|
|
|
(version "1.8")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/coq-community/autosubst")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2024-06-17 08:25:35 -04:00
|
|
|
|
(base32 "0qk72r6cqxwhqqkl2kmryhw365w3l2016qii1q1sk3md7zq46jcz"))
|
|
|
|
|
(patches
|
|
|
|
|
(search-patches "coq-autosubst-1.8-remove-deprecated-files.patch"))))
|
2024-01-10 02:43:07 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
2021-11-16 13:51:52 -05:00
|
|
|
|
#:make-flags (list (string-append "COQLIBINSTALL="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib/coq/user-contrib"))
|
2024-01-10 02:43:07 -05:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list coq))
|
|
|
|
|
(home-page "https://www.ps.uni-saarland.de/autosubst/")
|
|
|
|
|
(synopsis "Coq library for parallel de Bruijn substitutions")
|
|
|
|
|
(description "Formalizing syntactic theories with variable binders is
|
2019-02-03 10:14:12 -05:00
|
|
|
|
not easy. Autosubst is a library for the Coq proof assistant to
|
|
|
|
|
automate this process. Given an inductive definition of syntactic objects in
|
|
|
|
|
de Bruijn representation augmented with binding annotations, Autosubst
|
|
|
|
|
synthesizes the parallel substitution operation and automatically proves the
|
|
|
|
|
basic lemmas about substitutions. This library contains an automation
|
|
|
|
|
tactic that solves equations involving terms and substitutions. This makes the
|
|
|
|
|
usage of substitution lemmas unnecessary. The tactic is based on our current
|
|
|
|
|
work on a decision procedure for the equational theory of an extension of the
|
|
|
|
|
sigma-calculus by Abadi et al. The library is completely written in Coq and
|
|
|
|
|
uses Ltac to synthesize the substitution operation.")
|
2024-01-10 02:43:07 -05:00
|
|
|
|
(license license:bsd-3)))
|
2019-02-13 06:34:40 -05:00
|
|
|
|
|
|
|
|
|
(define-public coq-equations
|
|
|
|
|
(package
|
|
|
|
|
(name "coq-equations")
|
2024-09-12 01:24:29 -04:00
|
|
|
|
(version "1.3-8.18")
|
2019-02-13 06:34:40 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/mattam82/Coq-Equations")
|
2024-01-10 02:43:10 -05:00
|
|
|
|
(commit (string-append "v" version))))
|
2019-02-13 06:34:40 -05:00
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-09-12 01:24:29 -04:00
|
|
|
|
"1akxf2vafwyz6fi1djlc3g8mwxrjv0a99x4b08jwrbwxypv4xiph"))))
|
2019-02-13 06:34:40 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list ocaml coq camlp5))
|
2019-02-13 06:34:40 -05:00
|
|
|
|
(arguments
|
2024-09-12 01:28:28 -04:00
|
|
|
|
(list #:test-target "test-suite"
|
|
|
|
|
#:make-flags #~(list (string-append "COQLIBINSTALL="
|
|
|
|
|
#$output
|
|
|
|
|
"/lib/coq/user-contrib")
|
|
|
|
|
(string-append "COQPLUGININSTALL="
|
|
|
|
|
#$output
|
|
|
|
|
"/lib/ocaml/site-lib/"))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(invoke "sh" "./configure.sh"))))))
|
2019-02-13 06:34:40 -05:00
|
|
|
|
(home-page "https://mattam82.github.io/Coq-Equations/")
|
|
|
|
|
(synopsis "Function definition plugin for Coq")
|
|
|
|
|
(description "Equations provides a notation for writing programs
|
|
|
|
|
by dependent pattern-matching and (well-founded) recursion in Coq. It
|
|
|
|
|
compiles everything down to eliminators for inductive types, equality
|
|
|
|
|
and accessibility, providing a definitional extension to the Coq
|
|
|
|
|
kernel.")
|
|
|
|
|
(license license:lgpl2.1)))
|
2019-05-22 07:33:23 -04:00
|
|
|
|
|
2021-11-16 13:51:50 -05:00
|
|
|
|
(define-public coq-semantics
|
|
|
|
|
(package
|
|
|
|
|
(name "coq-semantics")
|
2021-11-28 11:39:01 -05:00
|
|
|
|
(version "8.14.0")
|
2021-11-16 13:51:50 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/coq-community/semantics")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(substitute* "Makefile.coq.local"
|
|
|
|
|
;; Num was part of OCaml and now external
|
|
|
|
|
(("-libs nums") "-use-ocamlfind -pkg num -libs num")))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-11-28 11:39:01 -05:00
|
|
|
|
"0ldrp86bfcjpzsb08p45sgs3aczjzr1gksy5dsf7pxapg05pc7ac"))))
|
2021-11-16 13:51:50 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list coq ocaml ocamlbuild ocaml-findlib))
|
2021-11-16 13:51:50 -05:00
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list ocaml-num))
|
2021-11-16 13:51:50 -05:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;included in Makefile
|
|
|
|
|
#:make-flags (list (string-append "COQLIBINSTALL="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib/coq/user-contrib"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(home-page "https://github.com/coq-community/semantics")
|
|
|
|
|
(synopsis "Survey of semantics styles")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a survey of programming language semantics styles,
|
|
|
|
|
from natural semantics through structural operational, axiomatic, and
|
|
|
|
|
denotational semantics, for a miniature example of an imperative programming
|
|
|
|
|
language. Their encoding, the proofs of equivalence of different styles,
|
|
|
|
|
abstract interpretation, and the proof of soundess obtained from axiomatic
|
|
|
|
|
semantics or abstract interpretation is done in Coq. The tools can be run
|
|
|
|
|
inside Coq, thus making them available for proof by reflection. Code can also
|
|
|
|
|
be extracted and connected to a yacc-based parser, thanks to the use of a
|
|
|
|
|
functor parameterized by a module type of strings. A hand-written parser is
|
|
|
|
|
also provided in Coq, without associated proofs.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2019-05-22 07:33:23 -04:00
|
|
|
|
(define-public coq-stdpp
|
|
|
|
|
(package
|
|
|
|
|
(name "coq-stdpp")
|
2024-06-12 04:57:13 -04:00
|
|
|
|
(version "1.10.0")
|
2019-05-22 07:33:23 -04:00
|
|
|
|
(synopsis "Alternative Coq standard library std++")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.mpi-sws.org/iris/stdpp.git")
|
|
|
|
|
(commit (string-append "coq-stdpp-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-01-07 14:02:36 -05:00
|
|
|
|
(base32
|
2024-06-12 04:57:13 -04:00
|
|
|
|
"0lnvdfn4qq2lyabiq4ikb5ya46f4jp59dynyprnhki0ay9xagz3d"))))
|
2019-05-22 07:33:23 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
|
(list coq))
|
2019-05-22 07:33:23 -04:00
|
|
|
|
(arguments
|
2020-01-07 14:03:07 -05:00
|
|
|
|
`(#:tests? #f ; Tests are executed during build phase.
|
2021-11-16 13:51:54 -05:00
|
|
|
|
#:make-flags (list (string-append "COQLIBINSTALL="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib/coq/user-contrib"))
|
2019-05-22 07:33:23 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2021-11-16 13:51:54 -05:00
|
|
|
|
(delete 'configure))))
|
2019-05-22 07:33:23 -04:00
|
|
|
|
(description "This project contains an extended \"Standard Library\" for
|
|
|
|
|
Coq called coq-std++. The key features are:
|
|
|
|
|
@itemize
|
|
|
|
|
@item Great number of definitions and lemmas for common data structures such
|
|
|
|
|
as lists, finite maps, finite sets, and finite multisets.
|
|
|
|
|
|
|
|
|
|
@item Type classes for common notations (like ∅, ∪, and Haskell-style monad
|
|
|
|
|
notations) so that these can be overloaded for different data structures.
|
|
|
|
|
|
|
|
|
|
@item It uses type classes to keep track of common properties of types, like
|
|
|
|
|
it having decidable equality or being countable or finite.
|
|
|
|
|
|
|
|
|
|
@item Most data structures are represented in canonical ways so that Leibniz
|
|
|
|
|
equality can be used as much as possible (for example, for maps we have m1 =
|
|
|
|
|
m2 iff ∀ i, m1 !! i = m2 !! i). On top of that, the library provides setoid
|
|
|
|
|
instances for most types and operations.
|
|
|
|
|
|
|
|
|
|
@item Various tactics for common tasks, like an ssreflect inspired done tactic
|
|
|
|
|
for finishing trivial goals, a simple breadth-first solver naive_solver, an
|
|
|
|
|
equality simplifier simplify_eq, a solver solve_proper for proving
|
|
|
|
|
compatibility of functions with respect to relations, and a solver set_solver
|
|
|
|
|
for goals involving set operations.
|
|
|
|
|
|
|
|
|
|
@item The library is dependency- and axiom-free.
|
|
|
|
|
@end itemize")
|
|
|
|
|
(home-page "https://gitlab.mpi-sws.org/iris/stdpp")
|
|
|
|
|
(license license:bsd-3)))
|
2022-09-07 14:33:39 -04:00
|
|
|
|
|
|
|
|
|
(define-public coq-mathcomp-finmap
|
|
|
|
|
(package
|
|
|
|
|
(name "coq-mathcomp-finmap")
|
|
|
|
|
(version "1.5.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/math-comp/finmap")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1k72wpp15xa5ag358jl8a71gschng0bgbaqjx0l5a0in6x5adafh"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(;; No tests supplied in Makefile.common.
|
|
|
|
|
;; The project doesn't appear to have plans to include tests in
|
|
|
|
|
;; the future.
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:make-flags (list (string-append "COQLIBINSTALL="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib/coq/user-contrib"))
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
2024-01-10 02:43:10 -05:00
|
|
|
|
(inputs (list coq coq coq-mathcomp which))
|
2022-09-07 14:33:39 -04:00
|
|
|
|
(synopsis "Finite sets and finite types for coq-mathcomp")
|
|
|
|
|
(description
|
|
|
|
|
"This library is an extension of coq-mathcomp which supports finite sets
|
|
|
|
|
and finite maps on choicetypes (rather than finite types). This includes
|
|
|
|
|
support for functions with finite support and multisets. The library also
|
2022-10-23 19:25:36 -04:00
|
|
|
|
contains a generic order and set library, which will eventually be used to
|
2022-09-07 14:33:39 -04:00
|
|
|
|
subsume notations for finite sets.")
|
|
|
|
|
(home-page "https://math-comp.github.io/")
|
|
|
|
|
(license license:cecill-b)))
|
2022-09-07 14:33:46 -04:00
|
|
|
|
|
|
|
|
|
(define-public coq-mathcomp-bigenough
|
|
|
|
|
(package
|
|
|
|
|
(name "coq-mathcomp-bigenough")
|
|
|
|
|
(version "1.0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/math-comp/bigenough")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"02f4dv4rz72liciwxb2k7acwx6lgqz4381mqyq5854p3nbyn06aw"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(;; No references to tests in Makefile.common.
|
|
|
|
|
;; It doesn't appear as though tests will be included
|
|
|
|
|
;; by the packaged project in the future.
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:make-flags ,#~(list (string-append "COQBIN="
|
2024-01-10 02:43:10 -05:00
|
|
|
|
#$(this-package-input "coq")
|
2022-09-07 14:33:46 -04:00
|
|
|
|
"/bin/")
|
|
|
|
|
(string-append "COQMF_COQLIB="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib/ocaml/site-lib/coq")
|
|
|
|
|
(string-append "COQLIBINSTALL="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib/coq/user-contrib"))
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
2024-01-10 02:43:10 -05:00
|
|
|
|
(propagated-inputs (list coq coq-mathcomp which))
|
2022-09-07 14:33:46 -04:00
|
|
|
|
(home-page "https://math-comp.github.io/")
|
|
|
|
|
(synopsis "Small library to do epsilon - N reasoning")
|
|
|
|
|
(description
|
|
|
|
|
"The package is used for reasoning with big enough objects (mostly
|
|
|
|
|
natural numbers). This package is essentially for backward compatibility
|
|
|
|
|
purposes as @code{bigenough} will be subsumed by the near tactics. The
|
|
|
|
|
formalization is based on the Mathematical Components library.")
|
|
|
|
|
(license license:cecill-b)))
|