mono{4,5}: remove (#436991)

This commit is contained in:
Sandro
2025-08-27 15:29:18 +02:00
committed by GitHub
8 changed files with 5 additions and 132 deletions
+2
View File
@@ -18,6 +18,8 @@
- The minimum version of Nix required to evaluate Nixpkgs has been raised from 2.3 to 2.18.
- `mono4` and `mono5` have been removed. Use `mono6` or `mono` instead.
- The `offrss` package was removed due to lack of upstream maintenance since 2012. It's recommended for users to migrate to another RSS reader
- GCC 9, 10, 11, and 12 have been removed, as they have reached endoflife upstream and are no longer supported.
-47
View File
@@ -1,47 +0,0 @@
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
mono4,
gtk-sharp-2_0,
}:
stdenv.mkDerivation rec {
pname = "mono-addins";
version = "1.3.3";
src = fetchFromGitHub {
owner = "mono";
repo = "mono-addins";
rev = "mono-addins-${version}";
sha256 = "018g3bd8afjc39h22h2j5r6ldsdn08ynx7wg889gdvnxg3hrxgl2";
};
nativeBuildInputs = [
pkg-config
autoreconfHook
];
# Use msbuild when https://github.com/NixOS/nixpkgs/pull/43680 is merged
buildInputs = [
mono4
gtk-sharp-2_0
];
dontStrip = true;
meta = with lib; {
homepage = "https://www.mono-project.com/archived/monoaddins/";
description = "Generic framework for creating extensible applications";
mainProgram = "mautil";
longDescription = ''
Mono.Addins is a generic framework for creating extensible applications,
and for creating libraries which extend those applications.
'';
platforms = platforms.linux;
license = licenses.mit;
};
}
-23
View File
@@ -1,23 +0,0 @@
{
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";
};
}
-14
View File
@@ -1,14 +0,0 @@
{
callPackage,
fetchurl,
}:
callPackage ./generic.nix rec {
version = "5.20.1.34";
enableParallelBuilding = true;
env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types -Wno-error=implicit-function-declaration";
src = fetchurl {
url = "https://download.mono-project.com/sources/mono/mono-${version}.tar.bz2";
sha256 = "12vw5dkhmp1vk9l658pil8jiqirkpdsc5z8dm5mpj595yr6d94fd";
};
}
@@ -1,12 +0,0 @@
diff --git a/mono/io-layer/processes.c b/mono/io-layer/processes.c
index 53c271a4..84bd3252 100644
--- a/mono/io-layer/processes.c
+++ b/mono/io-layer/processes.c
@@ -19,6 +19,7 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/sysmacros.h>
#include <unistd.h>
#ifdef HAVE_SIGNAL_H
#include <signal.h>
+3
View File
@@ -1577,6 +1577,9 @@ mapAliases {
mod_spkac = throw "'mod_spkac' has been renamed to/replaced by 'apacheHttpdPackages.mod_spkac'"; # Converted to throw 2024-10-17
mod_pkcs12 = throw "'mod_pkcs12' has been renamed to/replaced by 'apacheHttpdPackages.mod_pkcs12'"; # Converted to throw 2024-10-17
mod_timestamp = throw "'mod_timestamp' has been renamed to/replaced by 'apacheHttpdPackages.mod_timestamp'"; # Converted to throw 2024-10-17
mono-addins = throw "mono-addins has been removed due to its dependency on the removed mono4. Consider alternative frameworks or migrate to newer .NET technologies."; # Added 2025-08-25
mono4 = mono6; # Added 2025-08-25
mono5 = mono6; # Added 2025-08-25
monero = throw "'monero' has been renamed to/replaced by 'monero-cli'"; # Converted to throw 2024-10-17
mongodb-4_4 = throw "mongodb-4_4 has been removed, it's end of life since April 2024"; # Added 2024-04-11
mongodb-5_0 = throw "mongodb-5_0 has been removed, it's end of life since October 2024"; # Added 2024-10-01
-4
View File
@@ -5567,10 +5567,6 @@ with pkgs;
mono = mono6;
mono4 = lowPrio (callPackage ../development/compilers/mono/4.nix { });
mono5 = callPackage ../development/compilers/mono/5.nix { };
mono6 = callPackage ../development/compilers/mono/6.nix { };
mozart2 = callPackage ../development/compilers/mozart {
-32
View File
@@ -138,38 +138,6 @@ let
# SOURCE PACKAGES
MonoAddins = buildDotnetPackage rec {
pname = "Mono.Addins";
version = "1.2";
xBuildFiles = [
"Mono.Addins/Mono.Addins.csproj"
"Mono.Addins.Setup/Mono.Addins.Setup.csproj"
"Mono.Addins.Gui/Mono.Addins.Gui.csproj"
"Mono.Addins.CecilReflector/Mono.Addins.CecilReflector.csproj"
];
outputFiles = [ "bin/*" ];
src = fetchFromGitHub {
owner = "mono";
repo = "mono-addins";
rev = "mono-addins-${version}";
sha256 = "1hnn0a2qsjcjprsxas424bzvhsdwy0yc2jj5xbp698c0m9kfk24y";
};
buildInputs = [ pkgs.gtk-sharp-2_0 ];
meta = {
description = "Generic framework for creating extensible applications";
homepage = "https://www.mono-project.com/Mono.Addins";
longDescription = ''
A generic framework for creating extensible applications,
and for creating libraries which extend those applications.
'';
license = lib.licenses.mit;
};
};
NewtonsoftJson = fetchNuGet {
pname = "Newtonsoft.Json";
version = "11.0.2";