[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#61915] [PATCH v2 12/13] gnu: Add agda-cubical.
From: |
Josselin Poiret |
Subject: |
[bug#61915] [PATCH v2 12/13] gnu: Add agda-cubical. |
Date: |
Sun, 30 Apr 2023 12:53:22 +0200 |
From: Josselin Poiret <dev@jpoiret.xyz>
* 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))))
--
2.39.2
- [bug#61915] [PATCH v2 00/13] Update agda, add build-system and libraries., Josselin Poiret, 2023/04/30
- [bug#61915] [PATCH v2 01/13] gnu: Add ghc-peano., Josselin Poiret, 2023/04/30
- [bug#61915] [PATCH v2 02/13] gnu: Add ghc-vector-hashtables., Josselin Poiret, 2023/04/30
- [bug#61915] [PATCH v2 04/13] gnu: agda: Build info manual., Josselin Poiret, 2023/04/30
- [bug#61915] [PATCH v2 06/13] gnu: emacs-agda2-mode: Switch to G-Exps., Josselin Poiret, 2023/04/30
- [bug#61915] [PATCH v2 07/13] gnu: agda: Add AGDA_LIBDIRS search-path., Josselin Poiret, 2023/04/30
- [bug#61915] [PATCH v2 12/13] gnu: Add agda-cubical.,
Josselin Poiret <=
- [bug#61915] [PATCH v2 05/13] gnu: emacs-agda2-mode: No longer inherit from agda., Josselin Poiret, 2023/04/30
- [bug#61915] [PATCH v2 03/13] gnu: agda: Update to 2.6.3 and switch to git-fetch., Josselin Poiret, 2023/04/30
- [bug#61915] [PATCH v2 09/13] build-system: New agda-build-system., Josselin Poiret, 2023/04/30
- [bug#61915] [PATCH v2 13/13] gnu: Add agda-1lab., Josselin Poiret, 2023/04/30
- [bug#61915] [PATCH v2 08/13] build-system/haskell: Export default-haskell., Josselin Poiret, 2023/04/30
- [bug#61915] [PATCH v2 11/13] gnu: Add agda-categories., Josselin Poiret, 2023/04/30
- [bug#61915] [PATCH v2 10/13] gnu: Add agda-stdlib., Josselin Poiret, 2023/04/30