From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0CpDIajzk2FiOQAAgWs5BA (envelope-from ) for ; Tue, 16 Nov 2021 19:08:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iO/UHKjzk2F3ZQAAbx9fmQ (envelope-from ) for ; Tue, 16 Nov 2021 18:08:40 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 496052F5E1 for ; Tue, 16 Nov 2021 19:08:40 +0100 (CET) Received: from localhost ([::1]:36304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mn2sp-0000Z8-D9 for larch@yhetil.org; Tue, 16 Nov 2021 13:08:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mn2sE-0000Cn-LG for guix-patches@gnu.org; Tue, 16 Nov 2021 13:08:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47540) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mn2sE-0001Tk-Cx for guix-patches@gnu.org; Tue, 16 Nov 2021 13:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mn2sE-0001zz-4Z for guix-patches@gnu.org; Tue, 16 Nov 2021 13:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51896] [PATCH] gnu: Add coq-semantics. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Nov 2021 18:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51896@debbugs.gnu.org, zimon.toutoune@gmail.com X-Debbugs-Original-To: debbugs-submit@debbugs.gnu.org, zimoun , 51896@debbugs.gnu.org Received: via spool by 51896-submit@debbugs.gnu.org id=B51896.16370860487609 (code B ref 51896); Tue, 16 Nov 2021 18:08:02 +0000 Received: (at 51896) by debbugs.gnu.org; 16 Nov 2021 18:07:28 +0000 Received: from localhost ([127.0.0.1]:59086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mn2rg-0001yM-6E for submit@debbugs.gnu.org; Tue, 16 Nov 2021 13:07:28 -0500 Received: from lepiller.eu ([89.234.186.109]:39002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mn2rc-0001xx-Uh; Tue, 16 Nov 2021 13:07:25 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 45658052; Tue, 16 Nov 2021 18:07:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=A203Z8epZ97Q wjgoqy2KfuDssR/V40r5J0scpgMGg3k=; b=Jyc5FqRN0RHU3R0SOCEDfA+qip+D kO6azbz0UMlvg8YGpzDE495hoBuRGDufAhmnZ3i6XMujgth/ZsxmvJQSVdCHnH+t wgG7oUC8rnFQfs105rZjy3c0ssZiOJFbxcxq0YnpaZhHiSBVKbQLFapHt8BGksFc YSIH9KHiQoBfa5B+cDEgju1yG9d0j//QzqfMT9dUUhPLeEvLWRLGXuu5WOfwNWuz 9ohyYbpycHmzC5fJjwXmi/83g5zszV0lKfSTFAU8KxsCqwzmjTbWMdv2Ty98m5C9 jRo1WKCvHe7jUzBrcowDic0EkVrakolII3+PwjX37t70niHarNz20TXGWw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 32f59c3f (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 16 Nov 2021 18:07:20 +0000 (UTC) Date: Tue, 16 Nov 2021 13:07:14 -0500 From: Julien Lepiller User-Agent: K-9 Mail for Android In-Reply-To: <20211116175936.11987-1-zimon.toutoune@gmail.com> References: <20211116175936.11987-1-zimon.toutoune@gmail.com> Message-ID: <2F8617DF-AC9B-48BB-9DB8-868DFE4A2B8E@lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637086120; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DZ2q8PY2M1namUgNqhQEisAssXRXxZnW0QxyEKcyO5g=; b=JtX19N4E5o/lEzrygO5B2Ym+E5S4/HR4btHF/7/GWZrK6Me97iXH9eoIgkALdN3+8wMXk4 UDwSBylIhI3lic3QotLctFALaqgQ6VeYH7Rl0vYK6QSdPE2A4utGGP0Oqrzhfl+ZENwqMt 03BKD1Cr445YXBzcI/ahJgHIC6lQGHNDqDAdkRd5Cpi20anQohIzKo2MSsZqAYWULoiHpT tcaO4k0qHpzLmJ/pR0h74MHCABCPdCaYzWHd0egizYzhn1DNUhSlo5aeRIvEvKf/E3QyeX D+0dffRqdiug/m1rnxYJ/U7zek3VGLdK9Qzl5tlU/E555/7Ktpd9bifvXz21NA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637086120; a=rsa-sha256; cv=none; b=uXibPOhegF5UpL1Cb2Hc2rcSPVVECUyOdjgdSXN3IUuM4OJwUX4dgNlFAs+v/mjx/XJU3+ TOrJX7Z0abEGanZ8s6wQMPww8HFKmvA0ROEeqBkU2L3hHPz6RPK+3OTM1qupZ8jYaaJ4Gm Y3rRfO1NgGWaaiGkUzCJx5DgjxMsNOszLh3qSnDz7hJVw52l3FKf5qB/Hy5fTGNDtQfTAQ 5mJYNDQrHRZWte4wcPgMsszEZBq1UPC7opw2k0MiCyV1nUv5v5zJ2iZgqZYkbVq17mDROL KVCuiAH57DIsCFXd6crrARtpSYWSw5MT1jDevlyLeUbqlt7oR83wpxdp5O1Knw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=Jyc5FqRN; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.75 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=Jyc5FqRN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 496052F5E1 X-Spam-Score: -1.75 X-Migadu-Scanner: scn1.migadu.com X-TUID: lcm3TzgrzSSx =20 Le 16 novembre 2021 12:59:36 GMT-05:00, zimoun a =C3=A9crit=C2=A0: >* gnu/packages/coq=2Escm (coq-semantics): New variable=2E >--- > gnu/packages/coq=2Escm | 54 ++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 54 insertions(+) > >diff --git a/gnu/packages/coq=2Escm b/gnu/packages/coq=2Escm >index dccb9bea4c=2E=2Eca9335302f 100644 >--- a/gnu/packages/coq=2Escm >+++ b/gnu/packages/coq=2Escm >@@ -7,6 +7,7 @@ > ;;; Copyright =C2=A9 2020 raingloom > ;;; Copyright =C2=A9 2020 Robin Green > ;;; Copyright =C2=A9 2021 Xinglu Chen >+;;; Copyright =C2=A9 2021 Simon Tournier > ;;; > ;;; This file is part of GNU Guix=2E > ;;; >@@ -573,6 +574,59 @@ (define-public coq-equations > kernel=2E") > (license license:lgpl2=2E1))) >=20 >+(define-public coq-semantics >+ (package >+ (name "coq-semantics") >+ (version "8=2E13=2E0") >+ (source >+ (origin >+ (method git-fetch) >+ (uri (git-reference >+ (url "https://github=2Ecom/coq-community/semantics") >+ (commit (string-append "v" version)))) >+ (file-name (git-file-name name version)) >+ (sha256 >+ (base32 >+ "0m5si9dsv96z92gy4xaqz8mzyz8zp7j1sp542l0wzsp5xgyfpc7i")))) >+ (build-system gnu-build-system) >+ (native-inputs >+ `(("coq" ,coq) >+ ("ocaml" ,ocaml) >+ ("ocamlbuild" ,ocamlbuild) >+ ("ocaml-findlib" ,ocaml-findlib))) >+ (inputs >+ `(("ocaml-num" ,ocaml-num))) >+ (arguments >+ `(#:tests? #f ;included in Makefile You mean it's run at the same time as "make"? >+ #:phases >+ (modify-phases %standard-phases >+ (add-after 'unpack 'fix-ocaml-Big_int >+ (lambda _ >+ (substitute* "Makefile=2Ecoq=2Elocal" >+ ;; Num has part of OCaml and now external was? >+ (("-libs nums") "-use-ocamlfind -pkg num -libs num")))) Should this instead be in a snippet in the origin record? >+ (delete 'configure) >+ (replace 'install >+ (lambda* (#:key outputs #:allow-other-keys) >+ (invoke "make" >+ (string-append "COQLIB=3D" (assoc-ref outputs "out"= ) >+ "/lib/coq/") >+ "install")))))) Would it make sense to have it in #:make-flags? >+ (home-page "https://github=2Ecom/coq-community/semantics") >+ (synopsis "Survey of semantics styles") >+ (description >+ "This package provides a survey of programming language semantics s= tyles, >+from natural semantics through structural operational, axiomatic, and >+denotational semantics, for a miniature example of an imperative program= ming >+language=2E Their encoding, the proofs of equivalence of different styl= es, >+abstract interpretation, and the proof of soundess obtained from axiomat= ic >+semantics or abstract interpretation is done in Coq=2E The tools can be= run >+inside Coq, thus making them available for proof by reflection=2E 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=2E A hand-written par= ser is >+also provided in Coq, without associated proofs=2E") >+ (license license:expat))) >+ > (define-public coq-stdpp > (package > (name "coq-stdpp") > >base-commit: 122396075f12b013b6bde56dafb895587b95bc9d