uri: 2017-07-16 -> 1.1.0, fix build with gcc8

This commit is contained in:
Franz Pletz 2019-01-11 11:55:23 +01:00
parent f0a1f7e026
commit bc87c138d0
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -1,15 +1,18 @@
{ stdenv, fetchFromGitHub, cmake, doxygen }: { stdenv, fetchFromGitHub, cmake, doxygen }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "uri-2017-07-16"; name = "uri-${version}";
version = "1.1.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cpp-netlib"; owner = "cpp-netlib";
repo = "uri"; repo = "uri";
rev = "ac30f19cc7a4745667a8ebd3eac68d5e70b9a4a6"; rev = "v${version}";
sha256 = "0ys295ij071rilwkk3xq1p3sdzgb0gyybvd3f0cahh67kh8hyk6n"; sha256 = "148361pixrm94q6v04k13s1msa04bx9yc3djb0lxpa7dlw19vhcd";
}; };
NIX_CFLAGS_COMPILE = [ "-Wno-error=parentheses" ];
nativeBuildInputs = [ cmake doxygen ]; nativeBuildInputs = [ cmake doxygen ];
cmakeFlags = [ cmakeFlags = [