@ -13,14 +13,16 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig cmake ] ;
nativeBuildInputs = [ pkgconfig cmake ] ;
# detected by gcc7
preConfigure = ''
NIX_CFLAGS_COMPILE = [ " - W n o - e r r o r = i m p l i c i t - f a l l t h r o u g h " ] ;
substituteInPlace CMakeLists . txt - - replace " - W e r r o r " " "
substituteInPlace example/CMakeLists.txt - - replace " - W e r r o r " " "
'' ;
meta = with lib ; {
meta = with lib ; {
description = " F a s t J S O N p a r s e r / g e n e r a t o r f o r C + + w i t h b o t h S A X / D O M s t y l e A P I " ;
description = " F a s t J S O N p a r s e r / g e n e r a t o r f o r C + + w i t h b o t h S A X / D O M s t y l e A P I " ;
homepage = " h t t p : / / r a p i d j s o n . o r g / " ;
homepage = " h t t p : / / r a p i d j s o n . o r g / " ;
license = licenses . mit ;
license = licenses . mit ;
platforms = platforms . linu x;
platforms = platforms . uni x;
maintainers = with maintainers ; [ cstrahan ] ;
maintainers = with maintainers ; [ cstrahan ] ;
} ;
} ;
}
}