nghttp3: enable darwin build

main
midchildan 2 years ago
parent 743d011616
commit ed069b92f3
No known key found for this signature in database
GPG Key ID: A64DE57FA5963935
  1. 8
      pkgs/development/libraries/nghttp3/default.nix

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub
, autoreconfHook, pkg-config
, cunit, file
, cunit, file, ncurses
}:
stdenv.mkDerivation rec {
@ -14,7 +14,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-pV1xdQa5RBz17jDINC2uN1Q+jpa2edDwqTqf8D5VU3E=";
};
nativeBuildInputs = [ autoreconfHook pkg-config cunit file ];
nativeBuildInputs = [ autoreconfHook pkg-config file ];
checkInputs = [ cunit ncurses ];
preConfigure = ''
substituteInPlace ./configure --replace /usr/bin/file ${file}/bin/file
@ -23,12 +24,13 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
doCheck = true;
enableParallelBuilding = true;
meta = with lib; {
homepage = "https://github.com/ngtcp2/nghttp3";
description = "nghttp3 is an implementation of HTTP/3 mapping over QUIC and QPACK in C.";
license = licenses.mit;
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ izorkin ];
};
}

Loading…
Cancel
Save