1 { lib, stdenv, fetchurl, xercesc }:
5 stdenv.mkDerivation rec {
10 url = "https://codesynthesis.com/download/xsd/4.0/xsd-4.0.0+dep.tar.bz2";
11 sha256 = "05wqhmd5cd4pdky8i8qysnh96d2h16ly8r73whmbxkajiyf2m9gc";
14 patches = [ ./xsdcxx.patch ];
20 enableParallelBuilding = true;
23 "LDFLAGS=-L${xercesc}/lib"
24 "CPPFLAGS=-I${xercesc}/include"
26 installFlags = buildFlags ++ [
27 "install_prefix=${placeholder "out"}"
30 buildInputs = [ xercesc ];
33 homepage = "http://www.codesynthesis.com/products/xsd";
34 description = "An open-source, cross-platform W3C XML Schema to C++ data binding compiler";
35 license = lib.licenses.gpl2;
36 platforms = lib.platforms.linux;
37 maintainers = [ lib.maintainers.jagajaga ];