diff options
| author | Mathieu Lirzin <mthl@gnu.org> | 2026-01-05 11:59:23 +0100 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:31:08 +0100 |
| commit | 63e9052aaf15d859634555d4f0948c9ff07e968e (patch) | |
| tree | 322b1ea8992e3a3781d59e3308716ed96332b319 /gnu/packages/clojure.scm | |
| parent | 9ce0a1fe0b8f4f91311ad05b45e8b3125c98c1b1 (diff) | |
gnu: Add clojure-spec-alpha.
* gnu/packages/clojure.scm (clojure-spec-alpha): New variable.
Change-Id: Id7136fd6637e920a40af5f6628ec8537a1fd9f51
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/clojure.scm')
| -rw-r--r-- | gnu/packages/clojure.scm | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index b5a41335319..b000daaec27 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | ;;; Copyright © 2019 Jesse Gibbons <jgibbons2357+guix@gmail.com> | 5 | ;;; Copyright © 2019 Jesse Gibbons <jgibbons2357+guix@gmail.com> |
| 6 | ;;; Copyright © 2020 Ludovic Courtès <ludo@gnu.org> | 6 | ;;; Copyright © 2020 Ludovic Courtès <ludo@gnu.org> |
| 7 | ;;; Copyright © 2024 Roman Scherer <roman@burningswell.com> | 7 | ;;; Copyright © 2024 Roman Scherer <roman@burningswell.com> |
| 8 | ;;; Copyright © 2025 Mathieu Lirzin <mthl@gnu.org> | 8 | ;;; Copyright © 2025, 2026 Mathieu Lirzin <mthl@gnu.org> |
| 9 | ;;; | 9 | ;;; |
| 10 | ;;; This file is part of GNU Guix. | 10 | ;;; This file is part of GNU Guix. |
| 11 | ;;; | 11 | ;;; |
| @@ -1101,3 +1101,33 @@ the same way for every operation on every service.") | |||
| 1101 | Clojure.") | 1101 | Clojure.") |
| 1102 | (home-page "https://github.com/clojure/java.classpath") | 1102 | (home-page "https://github.com/clojure/java.classpath") |
| 1103 | (license license:epl1.0))) | 1103 | (license license:epl1.0))) |
| 1104 | |||
| 1105 | (define-public clojure-spec-alpha | ||
| 1106 | (package | ||
| 1107 | (name "clojure-spec-alpha") | ||
| 1108 | (version "0.6.249") | ||
| 1109 | (source (origin | ||
| 1110 | (method git-fetch) | ||
| 1111 | (uri (git-reference | ||
| 1112 | (url "https://github.com/clojure/spec.alpha") | ||
| 1113 | (commit (string-append "v" version)))) | ||
| 1114 | (file-name (git-file-name name version)) | ||
| 1115 | (sha256 | ||
| 1116 | (base32 | ||
| 1117 | "1rzy7mjzchsjpwkn3b5vg5hnmsj5h9ljxdjn48j92bgh7vl3k2r5")))) | ||
| 1118 | (build-system clojure-build-system) | ||
| 1119 | (arguments '(#:source-dirs '("src/main/clojure") | ||
| 1120 | #:test-dirs '("src/test/clojure") | ||
| 1121 | #:doc-dirs '())) | ||
| 1122 | (native-inputs (list clojure-test-check)) | ||
| 1123 | (synopsis | ||
| 1124 | "Clojure library to describe the structure of data and functions") | ||
| 1125 | (description | ||
| 1126 | "This package can be used to validate data, conform (destructure) data, explain | ||
| 1127 | invalid data, generate examples that conform to the specs, and automatically | ||
| 1128 | use generative testing to test functions. | ||
| 1129 | |||
| 1130 | Clojure depends on this library and provides it. Thus it is not recommended | ||
| 1131 | to add a direct dependency on this package.") | ||
| 1132 | (home-page "https://github.com/clojure/spec.alpha") | ||
| 1133 | (license license:epl1.0))) | ||
