guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/23: gnu: http-parser: Download from git.


From: guix-commits
Subject: 04/23: gnu: http-parser: Download from git.
Date: Sat, 12 Jan 2019 19:32:54 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 304db09257b353a677440e3b3c94f08446015ed2
Author: Marius Bakke <address@hidden>
Date:   Wed Jan 2 23:33:12 2019 +0100

    gnu: http-parser: Download from git.
    
    * gnu/packages/web.scm (http-parser)[source]: Change to GIT-FETCH.
---
 gnu/packages/web.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index d1713c7..52da99c 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5075,14 +5075,15 @@ into your tests.  It automatically starts up a HTTP 
server in a separate thread
   (package
     (name "http-parser")
     (version "2.8.1")
+    (home-page "https://github.com/nodejs/http-parser";)
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/nodejs/http-parser/";
-                                  "archive/v" version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference (url home-page)
+                                  (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "15ids8k2f0xhnnxh4m85w2f78pg5ndiwrpl24kyssznnp1l5yqai"))))
+                "0d2ni77pdw51n6qf0pq2gkc78i6yvnaw3nds6ldgmqqndzp2yv31"))))
     (build-system gnu-build-system)
     (arguments
      `(#:test-target "test"
@@ -5093,7 +5094,6 @@ into your tests.  It automatically starts up a HTTP 
server in a separate thread
        #:phases
        (modify-phases %standard-phases
          (delete 'configure))))
-    (home-page "https://github.com/nodejs/http-parser";)
     (synopsis "HTTP request/response parser for C")
     (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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]