From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8DEzN+Sm5Gbv7gAA62LTzQ:P1 (envelope-from ) for ; Fri, 13 Sep 2024 20:56:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 8DEzN+Sm5Gbv7gAA62LTzQ (envelope-from ) for ; Fri, 13 Sep 2024 22:56:04 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=u6w3ReYj; dkim=fail ("headers rsa verify failed") header.d=antr.me header.s=fe-d5cf982890 header.b=oxaMWWZ+; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726260964; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=EURW1wpamsHy6ZzF6X2f+PVMEbNSYGo7EshhqQSKlus=; b=bt4R5IBa/LZjcjxnorTq6gRUewYos5v4E0eE9RDw2vd1rRZjzUzVaAM6KcxmTr210icNGD yF3mRkMHzVyXRhA2ghQtmqzt15BXYa6IYJZbxCEFkAm7bkGyzae6KGke8GKknjNyx1EoG6 QsMIBRqxBmwmGcYr83gLdE2+yhpYGwH3xHS2L1LgUTSuxtUD0SR7vwomXmpgwk1BKe9i/I 6Ly80JbyBJLqT9/e8evz1FRukORzOHXes8eESt7dS2IuPGw1auR9MHia/lfsf5CdacWPz8 URtTEIsUg0XR6aEeu3uuZTBvc/nnrbUZRNvMEwE7ToWHT2FVLEpGQDeYtGJEnA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726260964; a=rsa-sha256; cv=none; b=McCF4xQsOgCSbkj97YZ+yodY9COjl7ZLe7ISynZrlu/kgXDHiPDeA7xMPaVR4S92jEDVJr mlxpg8h/oOAlxob9C7W6tGJ0/pccaUyusDc+7pMvlMRty6FFVFc9B/v4nRmKuN4V1WIBgA yhLOlAauN2HtaSKzDRyvEuPb1h5GiIzfk+fTZ8gYSJsufhA4TYl1lqOuZ0BrZNDaBj30IA jiY0Zai1cp2UL2pZuDT+bHZ+PUcmwKK+3r9hKBk0zvXXdEWJPyAiZm3/zYdKgd6E5ur6f9 8oH8zpOPZUampAmtVd8OyZ/dyauLBF9ONWd5oqh4wY4RJCezJ7tpiyLe90KiZg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=u6w3ReYj; dkim=fail ("headers rsa verify failed") header.d=antr.me header.s=fe-d5cf982890 header.b=oxaMWWZ+; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" 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 B09425B2CE for ; Fri, 13 Sep 2024 22:56:04 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1spDKd-0008RN-5k; Fri, 13 Sep 2024 16:55:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spDKb-0008P4-9c for guix-patches@gnu.org; Fri, 13 Sep 2024 16:55:53 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1spDKb-00042k-0W for guix-patches@gnu.org; Fri, 13 Sep 2024 16:55:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=EURW1wpamsHy6ZzF6X2f+PVMEbNSYGo7EshhqQSKlus=; b=u6w3ReYjNHP9sth1iSlLtr/fssoO71PRksVws/ov4whJFGK4naHs9vwc/jbuL+Sn+3XJi1PbNhMsD97jFiSAlfb9eIBJXj7R90S98hTMYYURkVRHVT0rGSRfxO1OSeKOW8gNPjI9zjIZbp1lEu/4s3VxxHSe9ENzMOAz7ZTIMf3vNFJsW+twYGC4bOxjrZ/tBlDyRWEIIhgqfcihMX2fvrEJweDQWhbT0x0JEFEePkhmRg6x5wDnZu3rBMI5sFK20/Bnk9P7vbadIStJm0cv50IAy+hmzgfwq3mcuElEYe2s8oI4vmet/5d9jQD/gm9ZLY/5H79CwQdF693GIGPAXg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1spDKk-0000FZ-HG for guix-patches@gnu.org; Fri, 13 Sep 2024 16:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73237] [PATCH] gnu: Add coq-ceres. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 13 Sep 2024 20:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73237 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73237@debbugs.gnu.org Cc: pukkamustard@posteo.net, julien@lepiller.eu X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1726260950931 (code B ref -1); Fri, 13 Sep 2024 20:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Sep 2024 20:55:50 +0000 Received: from localhost ([127.0.0.1]:44342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spDKX-0000Ev-Je for submit@debbugs.gnu.org; Fri, 13 Sep 2024 16:55:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:52338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spDKW-0000Em-3k for submit@debbugs.gnu.org; Fri, 13 Sep 2024 16:55:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spDKM-0008Ly-3v for guix-patches@gnu.org; Fri, 13 Sep 2024 16:55:38 -0400 Received: from smtp.forwardemail.net ([207.246.76.47]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1spDKK-00042E-Aq for guix-patches@gnu.org; Fri, 13 Sep 2024 16:55:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antr.me; h=Content-Type: MIME-Version: Message-ID: Date: Subject: Cc: To: From; q=dns/txt; s=fe-d5cf982890; t=1726260932; bh=EURW1wpamsHy6ZzF6X2f+PVMEbNSYGo7EshhqQSKlus=; b=oxaMWWZ+40hZoa3prv/IrQquMtkKVX4EDRsuc7OvGQtVq7hjG+8HeGmzCRbwvBohuwqGxFUwc HNx9KTLLjaxbrCZKFzeEA6BzwniDuQegZ9Ws/JgMn1bI7VxBSo6ASyQ7KR+rA5vGhljP+ARBvxb HldmpOWB3rKk15nZadF9Q/Y= Date: Fri, 13 Sep 2024 20:55:28 +0000 Message-ID: <87zfob1dfj.fsf@antr.me> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Report-Abuse-To: abuse@forwardemail.net X-Report-Abuse: abuse@forwardemail.net X-Complaints-To: abuse@forwardemail.net X-ForwardEmail-Version: 0.4.40 X-ForwardEmail-Sender: rfc822; mail@antr.me, smtp.forwardemail.net, 207.246.76.47 X-ForwardEmail-ID: 66e4a6c16c57d9a68975c7e2 Received-SPF: pass client-ip=207.246.76.47; envelope-from=SRS0=0bc9=QM=antr.me=mail@fe-bounces.antr.me; helo=smtp.forwardemail.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches From: Antero Mejr via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.11 X-Spam-Score: -5.11 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Queue-Id: B09425B2CE X-TUID: rWQ7xxCNtexz * gnu/packages/coq.scm (coq-ceres): New variable. Change-Id: I366aa3ad38a25bbcbaa70874241a22fb45d41938 --- gnu/packages/coq.scm | 54 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/coq.scm b/gnu/packages/coq.scm index 31d1e8d51d..6417b3ea48 100644 --- a/gnu/packages/coq.scm +++ b/gnu/packages/coq.scm @@ -777,3 +777,57 @@ (define-public coq-mathcomp-bigenough purposes as @code{bigenough} will be subsumed by the near tactics. The formalization is based on the Mathematical Components library.") (license license:cecill-b))) + +(define-public coq-ceres + (package + (name "coq-ceres") + (version "0.4.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Lysxia/coq-ceres") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "080nldsxmrxdan6gd0dvdgswn3gkwpy5hdqwra6wlmh8zzrs9z7n")))) + (build-system gnu-build-system) + (arguments + (list #:test-target "test" + #:make-flags #~(list "-f" "Makefile.coq" + (string-append "COQLIBINSTALL=" #$output + "/lib/coq/user-contrib") + "NO_TEST=1" + "COQTOP=coqtop") + #:phases #~(modify-phases %standard-phases + ;; Need to generate Makefile.coq + (replace 'configure + (lambda _ + (invoke "coq_makefile" "-f" "_CoqProject.classic" + "-o" "Makefile.coq"))) + (add-after 'build 'build-doc + (lambda* (#:key make-flags #:allow-other-keys) + (apply invoke "make" "html" make-flags))) + (replace 'check + (lambda* (#:key tests? test-target parallel-build? + make-flags #:allow-other-keys) + (when tests? + (apply invoke "make" + "-j" (number->string + (if parallel-build? + (parallel-job-count) + 1)) + test-target make-flags)))) + (add-after 'install 'install-doc + (lambda _ + (let ((doc (string-append #$output + "/share/doc/ceres"))) + (mkdir-p doc) + (copy-recursively "html" doc))))))) + (propagated-inputs (list coq)) + (home-page "https://gitlab.mpi-sws.org/iris/actris") + (synopsis "Coq library for serialization to S-expressions") + (description + "This package provides a Coq library that allows for serialization and +deserialization of S-expression data.") + (license license:bsd-3))) base-commit: 0e0d9bc91f20ac6dda439ab09330f0163eb9bf42 -- 2.46.0