Remove pushed coq update
more/packages/ocaml.scm
404 | 404 | (assoc-ref outputs "out")))))) | |
405 | 405 | #:tests? #f)) | |
406 | 406 | (native-inputs | |
407 | - | `(("ocaml" ,ocaml-fix) | |
408 | - | ("coq" ,coq-fix))) | |
407 | + | `(("ocaml" ,ocaml) | |
408 | + | ("coq" ,coq))) | |
409 | 409 | (inputs | |
410 | 410 | `(("menhir" ,ocaml-menhir-fix))) | |
411 | 411 | (home-page "http://compcert.inria.fr") | |
… | |||
416 | 416 | ;; a non-free license. | |
417 | 417 | (license (license:non-copyleft "file:///LICENSE")))) | |
418 | 418 | ||
419 | - | ;; yet another build system <3 | |
420 | - | ;; In this one, the autoconf-generated configure script configures the build and | |
421 | - | ;; builds remake from source, a make-like system specific to this package. | |
422 | - | (define-public coq-flocq | |
423 | - | (package | |
424 | - | (name "coq-flocq") | |
425 | - | (version "2.5.2") | |
426 | - | (source (origin | |
427 | - | (method url-fetch) | |
428 | - | (uri (string-append "https://gforge.inria.fr/frs/download.php/file/36199/flocq-" | |
429 | - | version ".tar.gz")) | |
430 | - | (sha256 | |
431 | - | (base32 | |
432 | - | "0h5mlasirfzc0wwn2isg4kahk384n73145akkpinrxq5jsn5d22h")))) | |
433 | - | (build-system gnu-build-system) | |
434 | - | (native-inputs | |
435 | - | `(("ocaml" ,ocaml) | |
436 | - | ("which" ,which) | |
437 | - | ("coq" ,coq-fix))) | |
438 | - | (arguments | |
439 | - | `(#:configure-flags | |
440 | - | (list (string-append "--libdir=" (assoc-ref %outputs "out") | |
441 | - | "/lib/coq/user-contrib/Flocq")) | |
442 | - | #:phases | |
443 | - | (modify-phases %standard-phases | |
444 | - | (add-before 'configure 'fix-remake | |
445 | - | (lambda _ | |
446 | - | (substitute* "remake.cpp" | |
447 | - | (("/bin/sh") (which "sh"))))) | |
448 | - | (replace 'build | |
449 | - | (lambda _ | |
450 | - | (zero? (system* "./remake")))) | |
451 | - | (replace 'check | |
452 | - | (lambda _ | |
453 | - | (zero? (system* "./remake" "check")))) | |
454 | - | ;; TODO: requires coq-gappa and coq-interval. | |
455 | - | ;(zero? (system* "./remake" "check-more")))) | |
456 | - | (replace 'install | |
457 | - | (lambda _ | |
458 | - | (zero? (system* "./remake" "install"))))))) | |
459 | - | (home-page "http://flocq.gforge.inria.fr/") | |
460 | - | (synopsis "Floating-point formalization for the Coq system") | |
461 | - | (description "Flocq (Floats for Coq) is a floating-point formalization for | |
462 | - | the Coq system. It provides a comprehensive library of theorems on a multi-radix | |
463 | - | multi-precision arithmetic. It also supports efficient numerical computations | |
464 | - | inside Coq.") | |
465 | - | (license license:lgpl3+))) | |
466 | - | ||
467 | - | (define-public coq-gappa | |
468 | - | (package | |
469 | - | (name "coq-gappa") | |
470 | - | (version "1.3.1") | |
471 | - | (source (origin | |
472 | - | (method url-fetch) | |
473 | - | (uri (string-append "https://gforge.inria.fr/frs/download.php/file/36351/gappa-" | |
474 | - | version ".tar.gz")) | |
475 | - | (sha256 | |
476 | - | (base32 | |
477 | - | "0924jr6f15fx22qfsvim5vc0qxqg30ivg9zxj34lf6slbgdl3j39")))) | |
478 | - | (build-system gnu-build-system) | |
479 | - | (native-inputs | |
480 | - | `(("ocaml" ,ocaml) | |
481 | - | ("which" ,which) | |
482 | - | ("coq" ,coq-fix) | |
483 | - | ("bison" ,bison) | |
484 | - | ("flex" ,flex))) | |
485 | - | (inputs | |
486 | - | `(("gmp" ,gmp) | |
487 | - | ("mpfr" ,mpfr) | |
488 | - | ("boost" ,boost))) | |
489 | - | (arguments | |
490 | - | `(#:configure-flags | |
491 | - | (list (string-append "--libdir=" (assoc-ref %outputs "out") | |
492 | - | "/lib/coq/user-contrib/Gappa")) | |
493 | - | #:phases | |
494 | - | (modify-phases %standard-phases | |
495 | - | (add-before 'configure 'fix-remake | |
496 | - | (lambda _ | |
497 | - | (substitute* "remake.cpp" | |
498 | - | (("/bin/sh") (which "sh"))))) | |
499 | - | (replace 'build | |
500 | - | (lambda _ | |
501 | - | (zero? (system* "./remake")))) | |
502 | - | (replace 'check | |
503 | - | (lambda _ | |
504 | - | (zero? (system* "./remake" "check")))) | |
505 | - | (replace 'install | |
506 | - | (lambda _ | |
507 | - | (zero? (system* "./remake" "install"))))))) | |
508 | - | (home-page "http://gappa.gforge.inria.fr/") | |
509 | - | (synopsis "Verify and formally prove properties on numerical programs") | |
510 | - | (description "Gappa is a tool intended to help verifying and formally proving | |
511 | - | properties on numerical programs dealing with floating-point or fixed-point | |
512 | - | arithmetic. It has been used to write robust floating-point filters for CGAL | |
513 | - | and it is used to certify elementary functions in CRlibm. While Gappa is | |
514 | - | intended to be used directly, it can also act as a backend prover for the Why3 | |
515 | - | software verification plateform or as an automatic tactic for the Coq proof | |
516 | - | assistant.") | |
517 | - | (license (list license:gpl2 license:cecill)))) | |
518 | - | ||
519 | - | (define-public coq-mathcomp | |
520 | - | (package | |
521 | - | (name "coq-mathcomp") | |
522 | - | (version "1.6.1") | |
523 | - | (source (origin | |
524 | - | (method url-fetch) | |
525 | - | (uri (string-append "https://github.com/math-comp/math-comp/archive/mathcomp-" | |
526 | - | version ".tar.gz")) | |
527 | - | (sha256 | |
528 | - | (base32 | |
529 | - | "1j9ylggjzrxz1i2hdl2yhsvmvy5z6l4rprwx7604401080p5sgjw")))) | |
530 | - | (build-system gnu-build-system) | |
531 | - | (native-inputs | |
532 | - | `(("ocaml" ,ocaml) | |
533 | - | ("which" ,which) | |
534 | - | ("coq" ,coq-fix))) | |
535 | - | (arguments | |
536 | - | `(#:tests? #f; No need to test formally-verified programs :) | |
537 | - | #:phases | |
538 | - | (modify-phases %standard-phases | |
539 | - | (delete 'configure) | |
540 | - | (add-before 'build 'chdir | |
541 | - | (lambda _ | |
542 | - | (chdir "mathcomp"))) | |
543 | - | (replace 'install | |
544 | - | (lambda* (#:key outputs #:allow-other-keys) | |
545 | - | (setenv "COQLIB" (string-append (assoc-ref outputs "out") "/lib/coq/")) | |
546 | - | (zero? (system* "make" "-f" "Makefile.coq" | |
547 | - | (string-append "COQLIB=" (assoc-ref outputs "out") | |
548 | - | "/lib/coq/") | |
549 | - | "install"))))))) | |
550 | - | (home-page "https://math-comp.github.io/math-comp/") | |
551 | - | (synopsis "Mathematical Components for Coq") | |
552 | - | (description "Mathematical Components for Coq has its origins in the formal | |
553 | - | proof of the Four Colour Theorem. Since then it has grown to cover many areas | |
554 | - | of mathematics and has been used for large scale projects like the formal proof | |
555 | - | of the Odd Order Theorem. | |
556 | - | ||
557 | - | The library is written using the Ssreflect proof language that is an integral | |
558 | - | part of the distribution.") | |
559 | - | (license license:cecill-b))) | |
560 | - | ||
561 | - | (define-public coq-coquelicot | |
562 | - | (package | |
563 | - | (name "coq-coquelicot") | |
564 | - | (version "3.0.0") | |
565 | - | (source (origin | |
566 | - | (method url-fetch) | |
567 | - | (uri (string-append "https://gforge.inria.fr/frs/download.php/" | |
568 | - | "file/36537/coquelicot-" version ".tar.gz")) | |
569 | - | (sha256 | |
570 | - | (base32 | |
571 | - | "0fx99bvsbdizj00gx2im8939y4wwl05f4qhw184j90kcx5vjxxv9")))) | |
572 | - | (build-system gnu-build-system) | |
573 | - | (native-inputs | |
574 | - | `(("ocaml" ,ocaml) | |
575 | - | ("which" ,which) | |
576 | - | ("coq" ,coq-fix))) | |
577 | - | (propagated-inputs | |
578 | - | `(("mathcomp" ,coq-mathcomp))) | |
579 | - | (arguments | |
580 | - | `(#:configure-flags | |
581 | - | (list (string-append "--libdir=" (assoc-ref %outputs "out") | |
582 | - | "/lib/coq/user-contrib/Coquelicot")) | |
583 | - | #:phases | |
584 | - | (modify-phases %standard-phases | |
585 | - | (add-before 'configure 'fix-remake | |
586 | - | (lambda _ | |
587 | - | (substitute* "remake.cpp" | |
588 | - | (("/bin/sh") (which "sh"))))) | |
589 | - | (replace 'build | |
590 | - | (lambda _ | |
591 | - | (zero? (system* "./remake")))) | |
592 | - | (replace 'check | |
593 | - | (lambda _ | |
594 | - | (zero? (system* "./remake" "check")))) | |
595 | - | (replace 'install | |
596 | - | (lambda _ | |
597 | - | (zero? (system* "./remake" "install"))))))) | |
598 | - | (home-page "http://coquelicot.saclay.inria.fr/index.html") | |
599 | - | (synopsis "Coq library for Reals") | |
600 | - | (description "Coquelicot is an easier way of writing formulas and theorem | |
601 | - | statements, achieved by relying on total functions in place of dependent types | |
602 | - | for limits, derivatives, integrals, power series, and so on. To help with the | |
603 | - | proof process, the library comes with a comprehensive set of theorems that cover | |
604 | - | not only these notions, but also some extensions such as parametric integrals, | |
605 | - | two-dimensional differentiability, asymptotic behaviors. It also offers some | |
606 | - | automations for performing differentiability proofs. Moreover, Coquelicot is a | |
607 | - | conservative extension of Coq's standard library and provides correspondence | |
608 | - | theorems between the two libraries.") | |
609 | - | (license license:lgpl3+))) | |
610 | - | ||
611 | - | (define-public coq-interval | |
612 | - | (package | |
613 | - | (name "coq-interval") | |
614 | - | (version "3.2.0") | |
615 | - | (source (origin | |
616 | - | (method url-fetch) | |
617 | - | (uri (string-append "https://gforge.inria.fr/frs/download.php/" | |
618 | - | "file/36538/interval-" version ".tar.gz")) | |
619 | - | (sha256 | |
620 | - | (base32 | |
621 | - | "16ir7mizl18kwa1ls8fwjih6r87894bvc1r6lh85cd43la7nriq3")))) | |
622 | - | (build-system gnu-build-system) | |
623 | - | (native-inputs | |
624 | - | `(("ocaml" ,ocaml) | |
625 | - | ("which" ,which) | |
626 | - | ("coq" ,coq-fix))) | |
627 | - | (propagated-inputs | |
628 | - | `(("flocq" ,coq-flocq) | |
629 | - | ("coquelicot" ,coq-coquelicot) | |
630 | - | ("mathcomp" ,coq-mathcomp))) | |
631 | - | (arguments | |
632 | - | `(#:configure-flags | |
633 | - | (list (string-append "--libdir=" (assoc-ref %outputs "out") | |
634 | - | "/lib/coq/user-contrib/Gappa")) | |
635 | - | #:phases | |
636 | - | (modify-phases %standard-phases | |
637 | - | (add-before 'configure 'fix-remake | |
638 | - | (lambda _ | |
639 | - | (substitute* "remake.cpp" | |
640 | - | (("/bin/sh") (which "sh"))))) | |
641 | - | (replace 'build | |
642 | - | (lambda _ | |
643 | - | (zero? (system* "./remake")))) | |
644 | - | (replace 'check | |
645 | - | (lambda _ | |
646 | - | (zero? (system* "./remake" "check")))) | |
647 | - | (replace 'install | |
648 | - | (lambda _ | |
649 | - | (zero? (system* "./remake" "install"))))))) | |
650 | - | (home-page "http://coq-interval.gforge.inria.fr/") | |
651 | - | (synopsis "Coq tactics to simplify inequality proofs") | |
652 | - | (description "Interval provides vernacular files containing tactics for | |
653 | - | simplifying the proofs of inequalities on expressions of real numbers for the | |
654 | - | Coq proof assistant.") | |
655 | - | (license license:cecill-c))) | |
656 | - | ||
657 | - | (define-public coq-fix | |
658 | - | (package | |
659 | - | (inherit coq) | |
660 | - | (name "coq-fix") | |
661 | - | (version "8.6") | |
662 | - | (source (origin | |
663 | - | (method url-fetch) | |
664 | - | (uri (string-append "https://coq.inria.fr/distrib/V" version | |
665 | - | "/files/coq-" version ".tar.gz")) | |
666 | - | (sha256 | |
667 | - | (base32 | |
668 | - | "1pw1xvy1657l1k69wrb911iqqflzhhp8wwsjvihbgc72r3skqg3f")))) | |
669 | - | (native-search-paths | |
670 | - | (list (search-path-specification | |
671 | - | (variable "COQPATH") | |
672 | - | (files (list "lib/coq/user-contrib"))))))) | |
673 | - | ||
674 | 419 | (define-public cubicle | |
675 | 420 | (package | |
676 | 421 | (name "cubicle") |