depot/third_party/nixpkgs/pkgs/os-specific/windows/mingwrt/default.nix

18 lines
400 B
Nix
Raw Normal View History

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