nixpkgs-overlay/pkgs/picoquic/default.nix

40 lines
783 B
Nix
Raw Normal View History

2020-10-27 21:45:46 +01:00
{ stdenv
, 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
];
meta = with stdenv.lib; {
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;
};
}