mvfst: init at 2024.01.22.00
This commit is contained in:
parent
72c1f53acd
commit
15e45bb78c
48
pkgs/development/libraries/mvfst/default.nix
Normal file
48
pkgs/development/libraries/mvfst/default.nix
Normal file
@ -0,0 +1,48 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, fizz
|
||||
, folly
|
||||
, gflags
|
||||
, glog
|
||||
, libsodium
|
||||
, zlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mvfst";
|
||||
version = "2024.01.22.00";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "facebook";
|
||||
repo = "mvfst";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-vhLwxA91v+vt5PQejhPOaj9YSkulg86hTD9GkpQKB24=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
cmakeFlags = lib.optionals stdenv.isDarwin [
|
||||
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.14" # For aligned allocation
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
fizz
|
||||
folly
|
||||
folly.boost
|
||||
folly.fmt
|
||||
gflags
|
||||
glog
|
||||
libsodium
|
||||
zlib
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An implementation of the QUIC transport protocol";
|
||||
homepage = "https://github.com/facebook/mvfst";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ ris ];
|
||||
};
|
||||
}
|
@ -24062,6 +24062,8 @@ with pkgs;
|
||||
|
||||
mvapich = callPackage ../development/libraries/mvapich { };
|
||||
|
||||
mvfst = darwin.apple_sdk_11_0.callPackage ../development/libraries/mvfst { };
|
||||
|
||||
mygpoclient = with python3.pkgs; toPythonApplication mygpoclient;
|
||||
|
||||
mygui = callPackage ../development/libraries/mygui {
|
||||
|
Loading…
Reference in New Issue
Block a user