restinio_0_6: init at 0.6.19

This commit is contained in:
linsui 2024-02-15 18:17:06 +08:00
parent aaca7a186f
commit 46283b29a4
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib, stdenvNoCC, fetchurl }:
stdenvNoCC.mkDerivation rec {
pname = "restinio";
version = "0.6.19";
src = fetchurl {
url = "https://github.com/Stiffstream/restinio/releases/download/v.${version}/${pname}-${version}.tar.bz2";
hash = "sha256-fyHuvrlm4XDWq1TpsZiskn1DkJASFzngN8D6O7NnskA=";
};
sourceRoot = ".";
installPhase = ''
runHook preInstall
mkdir -p $out/include
mv restinio-*/dev/restinio $out/include
runHook postInstall
'';
meta = with lib; {
description = "Cross-platform, efficient, customizable, and robust asynchronous HTTP/WebSocket server C++14 library";
homepage = "https://github.com/Stiffstream/restinio";
license = licenses.bsd3;
platforms = platforms.all;
};
}

View file

@ -11534,6 +11534,7 @@ with pkgs;
opendht = callPackage ../development/libraries/opendht {
inherit (darwin.apple_sdk.frameworks) Security;
restinio = restinio_0_6;
};
opendkim = callPackage ../development/libraries/opendkim { };
@ -41737,6 +41738,7 @@ with pkgs;
# TODO: remove once `udev` is `systemdMinimal` everywhere.
udev = systemdMinimal;
jack = libjack2;
restinio = restinio_0_6;
};
jitsi-meet-electron = callPackage ../applications/networking/instant-messengers/jitsi-meet-electron { };