python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / restinio / default.nix
blobc027c51e8eb4fda2bd5d2f166421cb0b339cf5d0
1 { lib, fetchzip }:
3 let
4   pname = "restinio";
5   version = "0.6.17";
6 in
7 fetchzip {
8   name = "${pname}-${version}";
9   url = "https://github.com/Stiffstream/restinio/releases/download/v.${version}/${pname}-${version}.tar.bz2";
10   hash = "sha256-8A13r3Qsn5S+kVWLPENoOjqz2tPMxSo6EWBvHG1cTAE=";
12   stripRoot = false;
13   postFetch = ''
14     mkdir -p $out/include
15     mv $out/restinio-*/dev/restinio $out/include
16     rm -r $out/restinio-*
17   '';
19   meta = with lib; {
20     description = "Cross-platform, efficient, customizable, and robust asynchronous HTTP/WebSocket server C++14 library";
21     homepage = "https://github.com/Stiffstream/restinio";
22     license = licenses.bsd3;
23     platforms = platforms.all;
24   };