nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 17.09-beta 38 lines 918 B view raw
1{ stdenv, fetchurl, xercesc }: 2 3let 4 fixed_paths = ''LDFLAGS="-L${xercesc}/lib" CPPFLAGS="-I${xercesc}/include"''; 5in 6stdenv.mkDerivation rec { 7 name = "xsd-${version}"; 8 version = "4.0.0"; 9 10 src = fetchurl { 11 url = "http://codesynthesis.com/download/xsd/4.0/xsd-4.0.0+dep.tar.bz2"; 12 sha256 = "05wqhmd5cd4pdky8i8qysnh96d2h16ly8r73whmbxkajiyf2m9gc"; 13 }; 14 15 patches = [ ./xsdcxx.patch ]; 16 17 configurePhase = '' 18 patchShebangs . 19 ''; 20 21 buildPhase = '' 22 make ${fixed_paths} 23 ''; 24 25 buildInputs = [ xercesc ]; 26 27 installPhase = '' 28 make ${fixed_paths} install_prefix="$out" install 29 ''; 30 31 meta = { 32 homepage = http://www.codesynthesis.com/products/xsd; 33 description = "An open-source, cross-platform W3C XML Schema to C++ data binding compiler"; 34 license = stdenv.lib.licenses.gpl2; 35 platforms = stdenv.lib.platforms.linux; 36 maintainers = [ stdenv.lib.maintainers.jagajaga ]; 37 }; 38}