mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
commit
f9ac86df6f
23
pkgs/development/libraries/restinio/default.nix
Normal file
23
pkgs/development/libraries/restinio/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ lib, fetchzip }:
|
||||
|
||||
let
|
||||
pname = "restinio";
|
||||
version = "0.6.13";
|
||||
in
|
||||
fetchzip {
|
||||
name = "${pname}-${version}";
|
||||
url = "https://github.com/Stiffstream/restinio/releases/download/v.${version}/${pname}-${version}-full.tar.bz2";
|
||||
sha256 = "0cwbd5ni5pm25c7njs3wllrblb2i853ibjvpbb1iicy833zais8d";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/include/restinio
|
||||
tar -xjf $downloadedFile --strip-components=3 -C $out/include/restinio --wildcards "*/dev/restinio"
|
||||
'';
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -18954,6 +18954,8 @@ with pkgs;
|
|||
|
||||
resolv_wrapper = callPackage ../development/libraries/resolv_wrapper { };
|
||||
|
||||
restinio = callPackage ../development/libraries/restinio {};
|
||||
|
||||
rhino = callPackage ../development/libraries/java/rhino {
|
||||
javac = jdk8;
|
||||
jvm = jre8;
|
||||
|
|
Loading…
Reference in a new issue