3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/windows/mingw-w64/default.nix

31 lines
612 B
Nix
Raw Normal View History

{ lib, stdenv, windows, fetchurl }:
2018-08-10 17:00:49 +01:00
let
2021-07-20 21:21:36 +01:00
version = "9.0.0";
2018-08-10 17:00:49 +01:00
in stdenv.mkDerivation {
2019-08-13 22:52:01 +01:00
pname = "mingw-w64";
inherit version;
2018-08-10 17:00:49 +01:00
src = fetchurl {
url = "mirror://sourceforge/mingw-w64/mingw-w64-v${version}.tar.bz2";
2021-07-20 21:21:36 +01:00
sha256 = "10a15bi4lyfi0k0haj0klqambicwma6yi7vssgbz8prg815vja8r";
2018-08-10 17:00:49 +01:00
};
outputs = [ "out" "dev" ];
2018-08-10 17:00:49 +01:00
configureFlags = [
"--enable-idl"
"--enable-secure-api"
];
enableParallelBuilding = true;
buildInputs = [ windows.mingw_w64_headers ];
dontStrip = true;
hardeningDisable = [ "stackprotector" "fortify" ];
meta = {
2021-01-15 14:45:37 +00:00
platforms = lib.platforms.windows;
};
}