nixpkgs-overlay/pkgs/picoquic/default.nix

41 lines
782 B
Nix

{ lib
, 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 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;
};
}