From patchwork Mon Feb 27 18:13:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Rodriguez X-Patchwork-Id: 47455 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 41EA016BD5; Mon, 27 Feb 2023 18:14:24 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,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 4FDE216A98 for ; Mon, 27 Feb 2023 18:14:22 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWi0m-0004yv-Vi; Mon, 27 Feb 2023 13:14:09 -0500 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 1pWi0l-0004mQ-G8 for guix-patches@gnu.org; Mon, 27 Feb 2023 13:14:07 -0500 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 1pWi0h-0000Gt-Rx for guix-patches@gnu.org; Mon, 27 Feb 2023 13:14:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWi0h-00087V-No for guix-patches@gnu.org; Mon, 27 Feb 2023 13:14:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61848] [[PATCH] 4/4] gnu/packages/agda.scm: Add agda-stdlib v1.7.2. Resent-From: Christopher Rodriguez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Feb 2023 18:14:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61848 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61848@debbugs.gnu.org Cc: Christopher Rodriguez Received: via spool by 61848-submit@debbugs.gnu.org id=B61848.167752163631171 (code B ref 61848); Mon, 27 Feb 2023 18:14:03 +0000 Received: (at 61848) by debbugs.gnu.org; 27 Feb 2023 18:13:56 +0000 Received: from localhost ([127.0.0.1]:48745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWi0Z-00086c-VV for submit@debbugs.gnu.org; Mon, 27 Feb 2023 13:13:56 -0500 Received: from mail-qt1-f178.google.com ([209.85.160.178]:43925) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWi0Y-000866-1J for 61848@debbugs.gnu.org; Mon, 27 Feb 2023 13:13:54 -0500 Received: by mail-qt1-f178.google.com with SMTP id cf14so7633982qtb.10 for <61848@debbugs.gnu.org>; Mon, 27 Feb 2023 10:13:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677521628; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=G4UGcGlW5ictJqbCsbZ8Ir8LhSlJXMS5wzO42oy4s+Y=; b=WGFerhpSrHt5HCivqHvgMLLpE7E23NSxhNh3mRugxIkJszxpf1XqVb2vEG/MbfR5/p mh5XcgfrgaE20CPAt5HPk3a5WTPWdb56FhJYhmXOp3/+wqqdAsGsZiqMbkMLRoM+LHIn piGRZe3UU85OjJ/fkJ3TPR96+ic5PTZuABaHshbJs0XWccqQ6+/Hhr7J1X9ntYfAR/Sp q7DYd/cChBe1zfFeEm7ZdVjde51b02eN+adeLGHX3Hc7yx7uGg+CJ07nj+wr2C6JlgbG ju4oeKdh8XYjYDOHlLl/hGew3D4BGAdWsGoGH5+bADZIJpNAvrzVmWHgozew/v12LSyG mWIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677521628; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=G4UGcGlW5ictJqbCsbZ8Ir8LhSlJXMS5wzO42oy4s+Y=; b=Lv1QAaextxyP+oWUEhR9687x+/85h4n8FKasNZW3lbCe6lC7wrMY4gfSgHM59Hb1/S BMWQtdkIaWP9lXHdaoC7chk26RduIVn8SrJkB9bbctSqhJ2t8zk7/Y70Pxx0HVaJd8/f KfOjSqVVii4zv9dE9HzPr3LhfRl/O+Kqu0eHWe5uZ5DzQMjrIGh94zs4+W26H8+y9rOo Vpi+/pBxaO5BepIyZMQlmHGouCl5I+cLNDIgTi7WPld5UAboZ6S+duceaumWEnBT8CiQ QBeAYVHwCeExnT3x3sQFrNfaKSjiRpJ9ExRVke5igqO+pdyx0rWC0OUP0tjCNP66otd5 fnZQ== X-Gm-Message-State: AO0yUKWcUQA0JuiLzIl1FJ+fSkK4fORD4ekZqDNhFcN5MdKGPsT9sFgK 3a9cYCnVe6ewlZjfcIFDs4fl4P5Fmu0= X-Google-Smtp-Source: AK7set8opt8OwNxDD15ZmvHfRyLCPvrFWuq36hjzfdRYx2I98jUqxvh3NF5gONDZXa8H40t5jH4+2Q== X-Received: by 2002:a05:622a:18a1:b0:3bf:a3d0:9023 with SMTP id v33-20020a05622a18a100b003bfa3d09023mr302453qtc.5.1677521628196; Mon, 27 Feb 2023 10:13:48 -0800 (PST) Received: from gmail.com (ec2-3-210-134-10.compute-1.amazonaws.com. [3.210.134.10]) by smtp.gmail.com with ESMTPSA id k8-20020a05620a142800b0073ba211e765sm5368650qkj.19.2023.02.27.10.13.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Feb 2023 10:13:47 -0800 (PST) From: Christopher Rodriguez Date: Mon, 27 Feb 2023 13:13:23 -0500 Message-Id: <20230227181323.21387-4-yewscion@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230227181323.21387-1-yewscion@gmail.com> References: <20230227181323.21387-1-yewscion@gmail.com> MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Signed-off-by: Christopher Rodriguez --- gnu/packages/agda.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/agda.scm b/gnu/packages/agda.scm index 816a34fc10..488314473e 100644 --- a/gnu/packages/agda.scm +++ b/gnu/packages/agda.scm @@ -28,6 +28,7 @@ (define-module (gnu packages agda) #:use-module (guix build-system emacs) #:use-module (guix build-system gnu) #:use-module (guix build-system haskell) + #:use-module (guix build-system copy) #:use-module (guix gexp) #:use-module (guix download) #:use-module (guix git-download) @@ -190,3 +191,43 @@ (define-public agda-ial trees, tries, vectors, and rudimentary IO. A number of good ideas come from Agda's standard library.") (license license:expat))) + +(define-public agda-stdlib + (let* ((revision "1") + (commit "b2e6385c1636897dbee0b10f7194376ff2c1753b")) + (package + (name "agda-stdlib") + (version (git-version "1.7.2" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/agda/agda-stdlib") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "065hf24xjpciwdrvk4isslgcgi01q0k93ql0y1sjqqvy5ryg5xmy")))) + (outputs '("out")) + (build-system copy-build-system) + (arguments + (let ((library-directory (string-append "share/agda/agda-stdlib-" + version "/"))) + (list #:install-plan #~'(("src" #$library-directory) + ("_build" #$library-directory) + ("standard-library.agda-lib" #$library-directory)) + #:phases #~(modify-phases %standard-phases + (add-before 'install 'create-interfaces + (lambda _ + (map (lambda (x) + (system (string-append "agda " x))) + (find-files "src" ".*\\.agda")))))))) + (native-inputs (list agda-2.6.3)) + (synopsis "The Agda Standard Library") + (description + "The standard library aims to contain all the tools needed to write +both programs and proofs easily. While we always try and write efficient +code, we prioritize ease of proof over type-checking and normalization +performance. If computational performance is important to you, then perhaps +try agda-prelude instead.") + (home-page "https://wiki.portal.chalmers.se/agda/pmwiki.php") + (license license:expat))))