aboutsummaryrefslogtreecommitdiff
path: root/slurm.scm
diff options
context:
space:
mode:
Diffstat (limited to 'slurm.scm')
-rw-r--r--slurm.scm36
1 files changed, 1 insertions, 35 deletions
diff --git a/slurm.scm b/slurm.scm
index a46e161..1158b1e 100644
--- a/slurm.scm
+++ b/slurm.scm
@@ -11,7 +11,7 @@
((gnu packages pkg-config) #:select (pkg-config))
((gnu packages serialization) #:select (libyaml))
((gnu packages tls) #:select (openssl))
- ((gnu packages web) #:select (jansson json-c))
+ ((gnu packages web) #:select (http-parser jansson json-c))
(guix download)
(guix build-system gnu)
(guix gexp)
@@ -20,40 +20,6 @@
(guix packages)
(guix utils))
-(define-public http-parser
- (package
- (name "http-parser")
- (version "2.9.4")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/nodejs/http-parser")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1vda4dp75pjf5fcph73sy0ifm3xrssrmf927qd1x8g3q46z0cv6c"))))
- (build-system gnu-build-system)
- (arguments
- (list #:make-flags #~(list (string-append "PREFIX=" #$output)
- (string-append "CC=" #$(cc-for-target))
- "library")
- #:test-target "test"
- #:phases
- #~(modify-phases %standard-phases
- (delete 'configure))))
- (home-page "https://github.com/nodejs/http-parser")
- (synopsis "C HTTP request/response parser")
- (description "@code{http-parser} is a parser for HTTP messages
-written in C. It parses both requests and responses. The parser is
-designed to be used in performance HTTP applications. It does not
-make any syscalls nor allocations, it does not buffer data, it can be
-interrupted at anytime. Depending on your architecture, it only
-requires about 40 bytes of data per message stream (in a web server
-that is per connection).")
- (license license:expat)))
-
(define-public libjwt
(package
(name "libjwt")