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.mkDerivation {
name = "uri-2017-07-16";
stdenv.mkDerivation rec {
name = "uri-${version}";
version = "1.1.0";
src = fetchFromGitHub {
owner = "cpp-netlib";
repo = "uri";
rev = "ac30f19cc7a4745667a8ebd3eac68d5e70b9a4a6";
sha256 = "0ys295ij071rilwkk3xq1p3sdzgb0gyybvd3f0cahh67kh8hyk6n";
rev = "v${version}";
sha256 = "148361pixrm94q6v04k13s1msa04bx9yc3djb0lxpa7dlw19vhcd";
};
NIX_CFLAGS_COMPILE = [ "-Wno-error=parentheses" ];
nativeBuildInputs = [ cmake doxygen ];
cmakeFlags = [