mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 18:44:13 +00:00

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
)
20 lines
411 B
Nix
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;
|
|
};
|
|
})
|