diff options
| author | Roman Scherer <roman@burningswell.com> | 2024-09-07 11:51:35 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2024-09-12 19:10:04 +0200 |
| commit | 24b883916357cc15a10e650381e47e20fab0098f (patch) | |
| tree | f81424793b23fb9becaa87a0bd6726d196dfd470 /gnu/packages/clojure.scm | |
| parent | 263205deada6367e0393ad23702afb12d9f23b68 (diff) | |
gnu: Add http-kit.
* gnu/packages/clojure.scm (http-kit): New variable.
Change-Id: Idb920cdab9076615a98e0be716c56b3d65c213a3
Diffstat (limited to 'gnu/packages/clojure.scm')
| -rw-r--r-- | gnu/packages/clojure.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 4000c075ad7..09674f541ef 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | ;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr> | 4 | ;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr> |
| 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 | ;;; | 8 | ;;; |
| 8 | ;;; This file is part of GNU Guix. | 9 | ;;; This file is part of GNU Guix. |
| 9 | ;;; | 10 | ;;; |
| @@ -995,3 +996,30 @@ is first loaded.") | |||
| 995 | provided by the Clojure Core reader and more. It adds metadata such as column | 996 | provided by the Clojure Core reader and more. It adds metadata such as column |
| 996 | and line numbers not only to lists, but also to symbols, vectors and maps.") | 997 | and line numbers not only to lists, but also to symbols, vectors and maps.") |
| 997 | (license license:epl1.0))) | 998 | (license license:epl1.0))) |
| 999 | |||
| 1000 | (define-public http-kit | ||
| 1001 | (package | ||
| 1002 | (name "http-kit") | ||
| 1003 | (version "2.8.0") | ||
| 1004 | (source (origin | ||
| 1005 | (method git-fetch) | ||
| 1006 | (uri (git-reference | ||
| 1007 | (url "https://github.com/http-kit/http-kit") | ||
| 1008 | (commit (string-append "v" version)))) | ||
| 1009 | (file-name (git-file-name name version)) | ||
| 1010 | (sha256 | ||
| 1011 | (base32 | ||
| 1012 | "1361bpb4sn3dbp215s7gf1bcrb45lgx3lk6lix7bndw9lahr5ank")))) | ||
| 1013 | (build-system clojure-build-system) | ||
| 1014 | (arguments | ||
| 1015 | '(#:java-source-dirs '("src/java") | ||
| 1016 | #:source-dirs '("src") | ||
| 1017 | #:doc-dirs '() | ||
| 1018 | #:tests? #f)) ;XXX: too many unpackaged dependencies | ||
| 1019 | (synopsis | ||
| 1020 | "High-performance, event-driven HTTP client and server for Clojure") | ||
| 1021 | (description "This package provides a minimalist, event-driven, | ||
| 1022 | high-performance Clojure HTTP client and server library with WebSocket and | ||
| 1023 | asynchronous support.") | ||
| 1024 | (home-page "https://github.com/http-kit/http-kit") | ||
| 1025 | (license license:asl2.0))) | ||
