restinio_0_6: init at 0.6.19
This commit is contained in:
parent
aaca7a186f
commit
46283b29a4
2 changed files with 31 additions and 0 deletions
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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -11534,6 +11534,7 @@ with pkgs;
|
||||||
|
|
||||||
opendht = callPackage ../development/libraries/opendht {
|
opendht = callPackage ../development/libraries/opendht {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
restinio = restinio_0_6;
|
||||||
};
|
};
|
||||||
|
|
||||||
opendkim = callPackage ../development/libraries/opendkim { };
|
opendkim = callPackage ../development/libraries/opendkim { };
|
||||||
|
@ -41737,6 +41738,7 @@ with pkgs;
|
||||||
# TODO: remove once `udev` is `systemdMinimal` everywhere.
|
# TODO: remove once `udev` is `systemdMinimal` everywhere.
|
||||||
udev = systemdMinimal;
|
udev = systemdMinimal;
|
||||||
jack = libjack2;
|
jack = libjack2;
|
||||||
|
restinio = restinio_0_6;
|
||||||
};
|
};
|
||||||
|
|
||||||
jitsi-meet-electron = callPackage ../applications/networking/instant-messengers/jitsi-meet-electron { };
|
jitsi-meet-electron = callPackage ../applications/networking/instant-messengers/jitsi-meet-electron { };
|
||||||
|
|
Loading…
Reference in a new issue