nixpkgs/pkgs/os-specific/windows/mingwrt/default.nix
Matthew Bauer f32e9a34c8 windows: add more meta
‘platforms.windows’ includes all windows platforms. Should prefer this
to using assertions.
2018-08-10 11:51:18 -04:00

18 lines
393 B
Nix

{ stdenv, lib, fetchurl }:
stdenv.mkDerivation rec {
name = "mingwrt-5.0.2";
src = fetchurl {
url = "mirror://sourceforge/mingw/MinGW/Base/mingw-rt/${name}-mingw32-src.tar.gz";
sha256 = "02pydg1m8y35nxb4k34nlb5c341y2waq76z42mgdzlcf661r91p0";
};
meta = {
platforms = lib.platforms.windows;
};
dontStrip = true;
hardeningDisable = [ "stackprotector" "fortify" ];
}