gnu: http-parser: Download from git.

* gnu/packages/web.scm (http-parser)[source]: Change to GIT-FETCH.
This commit is contained in:
Marius Bakke 2019-01-02 23:33:12 +01:00
parent 9c2094785d
commit 304db09257
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 6 additions and 6 deletions

View File

@ -5075,14 +5075,15 @@ into your tests. It automatically starts up a HTTP server in a separate thread
(package (package
(name "http-parser") (name "http-parser")
(version "2.8.1") (version "2.8.1")
(home-page "https://github.com/nodejs/http-parser")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/nodejs/http-parser/" (uri (git-reference (url home-page)
"archive/v" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (string-append name "-" version ".tar.gz")) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"15ids8k2f0xhnnxh4m85w2f78pg5ndiwrpl24kyssznnp1l5yqai")))) "0d2ni77pdw51n6qf0pq2gkc78i6yvnaw3nds6ldgmqqndzp2yv31"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:test-target "test" `(#:test-target "test"
@ -5093,7 +5094,6 @@ into your tests. It automatically starts up a HTTP server in a separate thread
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure)))) (delete 'configure))))
(home-page "https://github.com/nodejs/http-parser")
(synopsis "HTTP request/response parser for C") (synopsis "HTTP request/response parser for C")
(description "This is a parser for HTTP messages written in C. It parses (description "This is a parser for HTTP messages written in C. It parses
both requests and responses. The parser is designed to be used in both requests and responses. The parser is designed to be used in