restinio: 0.6.14 -> 0.6.16

This commit is contained in:
linsui 2022-07-29 11:32:21 +08:00
parent 9258c2ba9f
commit 6afa4b8e62

View File

@ -2,16 +2,18 @@
let
pname = "restinio";
version = "0.6.14";
version = "0.6.16";
in
fetchzip {
name = "${pname}-${version}";
url = "https://github.com/Stiffstream/restinio/releases/download/v.${version}/${pname}-${version}-full.tar.bz2";
sha256 = "sha256-v/t3Lo1D6rHMx3GywPpEhOnHrT7JVC8n++YxpMTRfDM=";
url = "https://github.com/Stiffstream/restinio/releases/download/v.${version}/${pname}-${version}.tar.bz2";
hash = "sha256-tl9HUsT9mCupuwp6T4dbPdYOQy3vYyctuwFQPfR8m0Y=";
stripRoot = false;
postFetch = ''
mkdir -p $out/include/restinio
tar -xjf $downloadedFile --strip-components=3 -C $out/include/restinio --wildcards "*/dev/restinio"
mkdir -p $out/include
mv $out/restinio-*/dev/restinio $out/include
rm -r $out/restinio-*
'';
meta = with lib; {