GNU bug report logs - #34466
[PATCH] gnu: Add coq-equations.

Previous Next

Package: guix-patches;

Reported by: Dan Frumin <dfrumin <at> cs.ru.nl>

Date: Wed, 13 Feb 2019 10:43:01 UTC

Severity: normal

Tags: patch

Done: Julien Lepiller <julien <at> lepiller.eu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Julien Lepiller <julien <at> lepiller.eu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#34466: closed ([PATCH] gnu: Add coq-equations.)
Date: Wed, 13 Feb 2019 21:24:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 13 Feb 2019 22:22:54 +0100
with message-id <20190213222254.730b1244 <at> lepiller.eu>
and subject line Re: [bug#34466] [PATCH] gnu: Add coq-equations.
has caused the debbugs.gnu.org bug report #34466,
regarding [PATCH] gnu: Add coq-equations.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
34466: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34466
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dan Frumin <dfrumin <at> cs.ru.nl>
To: guix-patches <at> gnu.org
Cc: Dan Frumin <dfrumin <at> cs.ru.nl>
Subject: [PATCH] gnu: Add coq-equations.
Date: Wed, 13 Feb 2019 11:40:24 +0100
---
 gnu/packages/coq.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/coq.scm b/gnu/packages/coq.scm
index fa02f85cd..494c3404b 100644
--- a/gnu/packages/coq.scm
+++ b/gnu/packages/coq.scm
@@ -500,3 +500,43 @@ 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.")
       (license license:bsd-3))))
+
+(define-public coq-equations
+  (package
+    (name "coq-equations")
+    (synopsis "Equations - a function definition plugin")
+    (version "1.2-beta")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/mattam82/Coq-Equations/archive/v"
+                    version "-8.8.tar.gz"))
+              (file-name (string-append name "-v" version "8.8.tar.gz"))
+              (sha256
+               (base32 "1j7yarhddk2c2l4b6h8g5n0xz5vfy1bqmgh832g01di5gjwshy3f"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("findlib" ,ocaml)
+       ("coq"     ,coq)
+       ("camlp5"  ,camlp5)))
+    (arguments
+     `(#:test-target "test-suite"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'configure
+           (lambda* (#:key outputs #:allow-other-keys)
+             (invoke "coq_makefile" "-f" "_CoqProject" "-o" "Makefile")))
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (setenv "COQLIB" (string-append (assoc-ref outputs "out") "/lib/coq/"))
+             (invoke "make"
+                     (string-append "COQLIB=" (assoc-ref outputs "out")
+                                    "/lib/coq/")
+                     "install"))))))
+    (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.")
+    (home-page "https://mattam82.github.io/Coq-Equations/")
+    (license license:lgpl2.1)))
-- 
2.17.1



[Message part 3 (message/rfc822, inline)]
From: Julien Lepiller <julien <at> lepiller.eu>
To: 34466-done <at> debbugs.gnu.org
Subject: Re: [bug#34466] [PATCH] gnu: Add coq-equations.
Date: Wed, 13 Feb 2019 22:22:54 +0100
Pushed as ec23bae682ab144179fad8d5ed6c2545d85384ad, thank you!


This bug report was last modified 6 years and 93 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.