at v206 911 B view raw
1{stdenv, fetchurl, cabextract}: 2 3assert stdenv.system == "i686-cygwin"; 4 5stdenv.mkDerivation { 6 # Derived from Visual C++ 2005 (= VC 8), followed by cl.exe's 7 # internal version number. 8 name = "visual-c++-8-14.00.50727.42"; 9 builder = ./builder.sh; 10 11 src = fetchurl { 12 url = http://download.microsoft.com/download/0/5/A/05AA45B9-A4BE-4872-8D57-733DF5297284/Ixpvc.exe; 13 md5 = "5b3b07cb048798822582a752f586bab9"; 14 }; 15 16 # The `filemap' maps the pretty much useless paths in the CAB file 17 # to their intended destinations in the file system, as determined 18 # from a normal Visual C++ Express installation. 19 # 20 # Recipe for reproducing: 21 # $ find -type f /path/to/unpacked-cab -print0 | xargs -0 md5sum > m1 22 # $ find -type f /path/to/visual-c++ -print0 | xargs -0 md5sum > m2 23 # $ nixpkgs/maintainers/scripts/map-files.pl m1 m2 > filemap 24 filemap = ./filemap; 25 26 buildInputs = [cabextract]; 27}