about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@users.noreply.github.com>2019-04-24 09:42:03 -0400
committerGitHub <noreply@github.com>2019-04-24 09:42:03 -0400
commite71f7983fc496210814ab1257c59c00d411f55a2 (patch)
treef4f7bf75206bc8b97623f138fd7f2d64ebf540df /pkgs
parent7488a367af199dc61992bdd3451a4016bb0f0f5f (diff)
parent4805e959aaf333648f293c76b66f1d0c9929dfc1 (diff)
downloadnixlib-e71f7983fc496210814ab1257c59c00d411f55a2.tar
nixlib-e71f7983fc496210814ab1257c59c00d411f55a2.tar.gz
nixlib-e71f7983fc496210814ab1257c59c00d411f55a2.tar.bz2
nixlib-e71f7983fc496210814ab1257c59c00d411f55a2.tar.lz
nixlib-e71f7983fc496210814ab1257c59c00d411f55a2.tar.xz
nixlib-e71f7983fc496210814ab1257c59c00d411f55a2.tar.zst
nixlib-e71f7983fc496210814ab1257c59c00d411f55a2.zip
Merge pull request #59962 from xrelkd/update/http-parser
http-parser: 2.9.1 -> 2.9.2
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/http-parser/default.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/development/libraries/http-parser/default.nix b/pkgs/development/libraries/http-parser/default.nix
index d63911ad24fc..68bf4ebec347 100644
--- a/pkgs/development/libraries/http-parser/default.nix
+++ b/pkgs/development/libraries/http-parser/default.nix
@@ -1,13 +1,15 @@
-{ stdenv, fetchurl }:
+{ stdenv, fetchFromGitHub }:
 
 let
-  version = "2.9.1";
+  version = "2.9.2";
 in stdenv.mkDerivation {
   name = "http-parser-${version}";
 
-  src = fetchurl {
-    url = "https://github.com/joyent/http-parser/archive/v${version}.tar.gz";
-    sha256 = "08fypqh3jkwvlznvmwwwir53ffg2xcxy0v8bjz6wxjlb41qhf8ik";
+  src = fetchFromGitHub {
+    owner = "nodejs";
+    repo = "http-parser";
+    rev = "v${version}";
+    sha256 = "1qs6x3n2nrcj1wiik5pg5i16inykf7rcfdfdy7rwyzf40pvdl3c2";
   };
 
   NIX_CFLAGS_COMPILE = "-Wno-error";
@@ -19,7 +21,7 @@ in stdenv.mkDerivation {
 
   meta = with stdenv.lib; {
     description = "An HTTP message parser written in C";
-    homepage = https://github.com/joyent/http-parser;
+    homepage = https://github.com/nodejs/http-parser;
     maintainers = with maintainers; [ matthewbauer ];
     license = licenses.mit;
     platforms = platforms.unix;