From patchwork Fri Sep 2 15:24:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Garek Dyszel X-Patchwork-Id: 42153 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C656127BBEA; Fri, 2 Sep 2022 16:32:30 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5FAB427BBE9 for ; Fri, 2 Sep 2022 16:32:30 +0100 (BST) Received: from localhost ([::1]:40514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oU8eU-00065O-7I for patchwork@mira.cbaines.net; Fri, 02 Sep 2022 11:32:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU8bP-0003f6-4Q for guix-patches@gnu.org; Fri, 02 Sep 2022 11:29:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57730) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oU8bO-0007I0-G0 for guix-patches@gnu.org; Fri, 02 Sep 2022 11:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oU8bO-00084R-9I for guix-patches@gnu.org; Fri, 02 Sep 2022 11:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57540] [PATCH 5/6] gnu: Add coq-mathcomp-finmap. References: <79d544f7d8ba64b631a6f0f1d2ef0b08@disroot.org> In-Reply-To: <79d544f7d8ba64b631a6f0f1d2ef0b08@disroot.org> Resent-From: Garek Dyszel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 02 Sep 2022 15:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57540 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57540@debbugs.gnu.org Received: via spool by 57540-submit@debbugs.gnu.org id=B57540.166213250530972 (code B ref 57540); Fri, 02 Sep 2022 15:29:02 +0000 Received: (at 57540) by debbugs.gnu.org; 2 Sep 2022 15:28:25 +0000 Received: from localhost ([127.0.0.1]:47479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU8am-00083U-Qn for submit@debbugs.gnu.org; Fri, 02 Sep 2022 11:28:25 -0400 Received: from knopi.disroot.org ([178.21.23.139]:59054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU8ak-00083L-8f for 57540@debbugs.gnu.org; Fri, 02 Sep 2022 11:28:22 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id C4FD240053 for <57540@debbugs.gnu.org>; Fri, 2 Sep 2022 17:28:21 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id gcsrljN6yZkg for <57540@debbugs.gnu.org>; Fri, 2 Sep 2022 17:28:20 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1662132292; bh=eOmf6HrQlOfB/0lGpMEl7LvT4fRHfyvr0KesZbTjhpA=; h=Date:From:To:Subject; b=iDLXCgIAdi8+jELGyG2LSEHdxH1/fK+WQOgz4je65mxyt3vAmgNUt+AiEh9/UpUAa +IqmM1kS43oknzDfQucYa44Q5p4pASPEUN4fxK7EAvsmMjFIWyDDS9mYhwZO9WKlJx 3bO8yjtcP45aP1/47GztDwNyxSqj5o8ie+TGjmEOIxJpDD2RDgakVxJVHJ4Hn/p/Am 6G2BU3K5SDFVFlzCL+Mi+FjiL4BbM0lOltuAHHQjy1UFkX9zdRpUW36tX3scWq1bmU ocmX7BihDZ0ej+HbpwcWzDaKXM1UOIONH2IDEYbK46CUdphNzq3IGoS5jcNTFwaCSa IxcSG9rBuZYBw== Date: Fri, 02 Sep 2022 11:24:52 -0400 Message-ID: X-Sender: garekdyszel@disroot.org 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Garek Dyszel X-ACL-Warn: , Garek Dyszel via Guix-patches X-Patchwork-Original-From: Garek Dyszel via Guix-patches via From: Garek Dyszel X-getmail-retrieved-from-mailbox: Patches * gnu/packages/coq.scm (coq-mathcomp-finmap) --- gnu/packages/coq.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) +contains a generic order and set libary, which will eventually be used to +subsume notations for finite sets.") + (home-page "https://math-comp.github.io/") + (license license:cecill-b))) diff --git a/gnu/packages/coq.scm b/gnu/packages/coq.scm index bb4788a..f0aa233 100644 --- a/gnu/packages/coq.scm +++ b/gnu/packages/coq.scm @@ -834,3 +834,38 @@ (define-public coq-mathcomp-hierarchy-builder (home-page "https://math-comp.github.io/") ;; MIT license (license license:expat))) + +(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) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1k72wpp15xa5ag358jl8a71gschng0bgbaqjx0l5a0in6x5adafh")))) + (build-system gnu-build-system) + (arguments + `( ;"No rule to make target 'check'." + ;; No tests supplied in Makefile.common. + #:tests? #f + #:make-flags (list (string-append "COQLIBINSTALL=" + (assoc-ref %outputs "out") + "/lib/coq/user-contrib")) + #:phases (modify-phases %standard-phases + (delete 'configure)))) + (inputs (list coq coq-stdlib coq-mathcomp which)) + (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