Merge pull request #288997 from linsui/jami

restinio_0_6: init at 0.6.19
This commit is contained in:
Mario Rodas 2024-02-17 01:27:10 -05:00 committed by GitHub
commit ad7cb7fbd5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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

@ -11530,6 +11530,7 @@ with pkgs;
opendht = callPackage ../development/libraries/opendht {
inherit (darwin.apple_sdk.frameworks) Security;
restinio = restinio_0_6;
};
opendkim = callPackage ../development/libraries/opendkim { };
@ -41724,6 +41725,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 { };