17 stdenv.mkDerivation rec {
18 pname = "cygwin-setup";
22 cvsRoot = ":pserver:anoncvs@cygwin.com:/cvs/cygwin-apps";
25 sha256 = "024wxaaxkf7p1i78bh5xrsqmfz7ss2amigbfl2r5w9h87zqn9aq3";
39 mkStatic = lib.flip lib.overrideDerivation (o: {
40 dontDisableStatic = true;
41 configureFlags = lib.toList (o.configureFlags or [ ]) ++ [ "--enable-static" ];
42 buildInputs = map mkStatic (o.buildInputs or [ ]);
43 propagatedBuildInputs = map mkStatic (o.propagatedBuildInputs or [ ]);
53 configureFlags = [ "--disable-shared" ];
55 dontDisableStatic = true;
62 install -vD setup.exe "$out/bin/setup.exe"
66 homepage = "https://sourceware.org/cygwin-apps/setup.html";
67 description = "Tool for installing Cygwin";
68 license = lib.licenses.gpl2Plus;