Merge pull request #288997 from linsui/jami
restinio_0_6: init at 0.6.19
This commit is contained in:
commit
ad7cb7fbd5
29
pkgs/by-name/re/restinio_0_6/package.nix
Normal file
29
pkgs/by-name/re/restinio_0_6/package.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user