lol
0
fork

Configure Feed

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

at 16.09-beta 46 lines 1.2 kB view raw
1{ stdenv, fetchcvs, autoconf, automake, libtool, flex, bison, pkgconfig 2, zlib, bzip2, lzma, libgcrypt 3}: 4 5with stdenv.lib; 6 7stdenv.mkDerivation rec { 8 name = "cygwin-setup-${version}"; 9 version = "20131101"; 10 11 src = fetchcvs { 12 cvsRoot = ":pserver:anoncvs@cygwin.com:/cvs/cygwin-apps"; 13 module = "setup"; 14 date = version; 15 sha256 = "024wxaaxkf7p1i78bh5xrsqmfz7ss2amigbfl2r5w9h87zqn9aq3"; 16 }; 17 18 nativeBuildInputs = [ autoconf automake libtool flex bison pkgconfig ]; 19 20 buildInputs = let 21 mkStatic = flip overrideDerivation (o: { 22 dontDisableStatic = true; 23 configureFlags = toList (o.configureFlags or []) ++ [ "--enable-static" ]; 24 buildInputs = map mkStatic (o.buildInputs or []); 25 propagatedBuildInputs = map mkStatic (o.propagatedBuildInputs or []); 26 }); 27 in map mkStatic [ zlib bzip2 lzma libgcrypt ]; 28 29 configureFlags = "--disable-shared"; 30 31 dontDisableStatic = true; 32 33 preConfigure = '' 34 autoreconf -vfi 35 ''; 36 37 installPhase = '' 38 install -vD setup.exe "$out/bin/setup.exe" 39 ''; 40 41 meta = { 42 homepage = https://sourceware.org/cygwin-apps/setup.html; 43 description = "A tool for installing Cygwin"; 44 license = licenses.gpl2Plus; 45 }; 46}