Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #140439 from linsui/restinio

restinio: init 0.6.13

authored by

Sandro and committed by
GitHub
f9ac86df 9b60125d

+25
+23
pkgs/development/libraries/restinio/default.nix
··· 1 + { lib, fetchzip }: 2 + 3 + let 4 + pname = "restinio"; 5 + version = "0.6.13"; 6 + in 7 + fetchzip { 8 + name = "${pname}-${version}"; 9 + url = "https://github.com/Stiffstream/restinio/releases/download/v.${version}/${pname}-${version}-full.tar.bz2"; 10 + sha256 = "0cwbd5ni5pm25c7njs3wllrblb2i853ibjvpbb1iicy833zais8d"; 11 + 12 + postFetch = '' 13 + mkdir -p $out/include/restinio 14 + tar -xjf $downloadedFile --strip-components=3 -C $out/include/restinio --wildcards "*/dev/restinio" 15 + ''; 16 + 17 + meta = with lib; { 18 + description = "Cross-platform, efficient, customizable, and robust asynchronous HTTP/WebSocket server C++14 library"; 19 + homepage = "https://github.com/Stiffstream/restinio"; 20 + license = licenses.bsd3; 21 + platforms = platforms.all; 22 + }; 23 + }
+2
pkgs/top-level/all-packages.nix
··· 18954 18954 18955 18955 resolv_wrapper = callPackage ../development/libraries/resolv_wrapper { }; 18956 18956 18957 + restinio = callPackage ../development/libraries/restinio {}; 18958 + 18957 18959 rhino = callPackage ../development/libraries/java/rhino { 18958 18960 javac = jdk8; 18959 18961 jvm = jre8;