Unverified Commit e11c750b authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #254939 from marsam/update-llhttp

llhttp: 9.1.0 -> 9.1.2
parents 0acda5ed 79de0c02
Loading
Loading
Loading
Loading
+12 −7
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, cmake }:
{ lib, stdenv, fetchFromGitHub, cmake, testers }:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "llhttp";
  version = "9.1.0";
  version = "9.1.2";

  src = fetchFromGitHub {
    owner = "nodejs";
    repo = "llhttp";
    rev = "release/v${version}";
    hash = "sha256-DWRo9mVpmty/Ec+pKqPTZqwOlYJD+SmddwEui7P/694=";
    rev = "release/v${finalAttrs.version}";
    hash = "sha256-kW6u9ETZJcJBh150chfE3SEwFpT7evZ0cqz8caM7fbQ=";
  };

  nativeBuildInputs = [
@@ -19,12 +19,17 @@ stdenv.mkDerivation rec {
    "-DBUILD_STATIC_LIBS=ON"
  ];

  passthru.tests.pkg-config = testers.hasPkgConfigModules {
    package = finalAttrs.finalPackage;
  };

  meta = with lib; {
    description = "Port of http_parser to llparse";
    homepage = "https://llhttp.org/";
    changelog = "https://github.com/nodejs/llhttp/releases/tag/${src.rev}";
    changelog = "https://github.com/nodejs/llhttp/releases/tag/release/v${finalAttrs.version}";
    license = licenses.mit;
    pkgConfigModules = [ "libllhttp" ];
    maintainers = [ maintainers.marsam ];
    platforms = platforms.all;
  };
}
})