2021-07-24 15:53:20 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2020-10-27 21:45:46 +01:00
|
|
|
, cmake
|
|
|
|
, openssl
|
|
|
|
, picotls
|
|
|
|
, pkgconfig
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "picoquic";
|
|
|
|
version = "20201023";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "private-octopus";
|
|
|
|
repo = "picoquic";
|
|
|
|
rev = "5ba6123c5a78ab3238bc11f3310d169cd0bc5234";
|
|
|
|
sha256 = "1f8xwkn59wvrfxxfvx23lg8cx73vzmddswvf6ydd724cpc8g62jd";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkgconfig
|
|
|
|
picotls
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
openssl
|
|
|
|
];
|
|
|
|
|
2021-07-24 15:53:20 +02:00
|
|
|
meta = with lib; {
|
2020-10-27 21:45:46 +01:00
|
|
|
description = "Minimalist implementation of the QUIC protocol, as defined by the IETF";
|
|
|
|
homepage = https://github.com/private-octopus/picoquic;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ royneary ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|