
The original Mono project [1] was archived. It is now maintained by WineHQ on their gitlab [2]. This changes the homepage for the new mono package, and moves the source fetchers to the version profiles. [1] https://www.mono-project.com/ [2] https://gitlab.winehq.org/mono/mono
24 lines
680 B
Nix
24 lines
680 B
Nix
{
|
|
callPackage,
|
|
stdenv,
|
|
lib,
|
|
fetchurl,
|
|
}:
|
|
|
|
callPackage ./generic.nix rec {
|
|
version = "4.8.1.0";
|
|
enableParallelBuilding = false; # #32386, https://hydra.nixos.org/build/65600645
|
|
extraPatches = lib.optionals stdenv.hostPlatform.isLinux [ ./mono4-glibc.patch ];
|
|
env.NIX_CFLAGS_COMPILE = toString [
|
|
"-Wno-error=implicit-function-declaration"
|
|
"-Wno-error=implicit-int"
|
|
"-Wno-error=incompatible-pointer-types"
|
|
"-Wno-error=int-conversion"
|
|
"-Wno-error=return-mismatch"
|
|
];
|
|
src = fetchurl {
|
|
url = "https://download.mono-project.com/sources/mono/mono-${version}.tar.bz2";
|
|
sha256 = "1vyvp2g28ihcgxgxr8nhzyzdmzicsh5djzk8dk1hj5p5f2k3ijqq";
|
|
};
|
|
}
|