nixpkgs/pkgs/os-specific/windows/mingw-w64/headers.nix
John Ericson 9abf384c54 windows.mingw_w64*: Fetch common attrs from the headers package
This is the most upstream one, and so to avoid infinite recursion we
should get the things from it. This isn't needed per-se now, but will be
after the next commit.

(cherry picked from commit 4bd76beac0)
2024-06-21 11:47:27 -04:00

20 lines
411 B
Nix

{ lib, stdenvNoCC, fetchurl }:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "mingw_w64-headers";
version = "11.0.1";
src = fetchurl {
url = "mirror://sourceforge/mingw-w64/mingw-w64-v${finalAttrs.version}.tar.bz2";
hash = "sha256-P2a84Gnui+10OaGhPafLkaXmfqYXDyExesf1eUYl7hA=";
};
preConfigure = ''
cd mingw-w64-headers
'';
meta = {
platforms = lib.platforms.windows;
};
})