From patchwork Sun Apr 30 10:53:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josselin Poiret X-Patchwork-Id: 49702 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 55A2E27BBEA; Sun, 30 Apr 2023 11:54:49 +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=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=no 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 DB04627BBE2 for ; Sun, 30 Apr 2023 11:54:48 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pt4h0-0002vn-GW; Sun, 30 Apr 2023 06:54:10 -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 1pt4gy-0002tU-Mw for guix-patches@gnu.org; Sun, 30 Apr 2023 06:54:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pt4gw-0002UQ-DQ for guix-patches@gnu.org; Sun, 30 Apr 2023 06:54:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pt4gw-0000Wa-9z for guix-patches@gnu.org; Sun, 30 Apr 2023 06:54:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#61915] [PATCH v2 12/13] gnu: Add agda-cubical. Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 Apr 2023 10:54:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61915 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Josselin Poiret , Simon Tournier , 61915@debbugs.gnu.org Received: via spool by 61915-submit@debbugs.gnu.org id=B61915.16828520391917 (code B ref 61915); Sun, 30 Apr 2023 10:54:06 +0000 Received: (at 61915) by debbugs.gnu.org; 30 Apr 2023 10:53:59 +0000 Received: from localhost ([127.0.0.1]:37360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pt4go-0000Uk-Se for submit@debbugs.gnu.org; Sun, 30 Apr 2023 06:53:59 -0400 Received: from jpoiret.xyz ([206.189.101.64]:53688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pt4gg-0000TW-B5 for 61915@debbugs.gnu.org; Sun, 30 Apr 2023 06:53:50 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 7A03E185317; Sun, 30 Apr 2023 10:53:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1682852024; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=R+m2Rb1HsVD0k91rF+mWTVmSxKsd4hTQ+agi5nwJIag=; b=tgg/0L7Ac7uKV3HJ2JtX09BYiIqBtLVIrrLv3W7CcW13y1k6TWm2ktxTAx/FRWG6kDQ8PK Kl/a65AupHXRT4kLnbXKlGWPOJA83wRwat99llz9WITnL5MXZqHFIv8ImWjajGvZVaTLtZ gIuIy51adYFOUo3TCaHpvO1joYqyiBgn3aqn3nHMHC2H6anrcG+EVkA1r2LcKG3gI1rt7G X0o72+f90OoEkijI6EaMyWAh1MYRX5gRqOS48YPjOlgmhnney/WF6raL7vIDNSnwBAxt/j q3RQOxE5BTjNUW68QyDecYpLmGGMyd4SpDyGRrBLqPnExkwcD+wrrucGV5861g== Date: Sun, 30 Apr 2023 12:53:22 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Spamd-Bar: / Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz 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: Josselin Poiret X-ACL-Warn: , Josselin Poiret via Guix-patches X-Patchwork-Original-From: Josselin Poiret via Guix-patches via From: Josselin Poiret Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Josselin Poiret * gnu/packages/agda.scm: New variable agda-cubical. --- gnu/packages/agda.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/agda.scm b/gnu/packages/agda.scm index 1068d8734f..e75386c990 100644 --- a/gnu/packages/agda.scm +++ b/gnu/packages/agda.scm @@ -265,3 +265,36 @@ (define-public agda-categories (description "A new Categories library for Agda") (home-page "https://github.com/agda/agda-categories") (license license:expat)))) + +(define-public agda-cubical + ;; Upstream's HEAD follows the latest Agda release, but they don't release + ;; until a newer Agda release comes up, so their releases are always one + ;; version late. + (let* ((revision "1") + (commit "3dc3cd12579544c8c1c1d2c5f64fd8d577fd3d66")) + (package + (name "agda-cubical") + (version (git-version "0.4" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/agda/cubical.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1b40adjgwrrdarzk0yiy2jmjgmf455ax6z70hfzdgc6j06vdb6mg")))) + (build-system agda-build-system) + (arguments + (list + #:gnu-and-haskell? #t + #:phases + #~(modify-phases %standard-phases + (replace 'build + (lambda _ + (invoke "make")))))) + (synopsis "A standard library for Cubical Agda") + (description "A standard library for Cubical Agda, comparable to +agda-stdlib but using cubical methods.") + (home-page "https://github.com/agda/cubical") + (license license:expat))))