Unverified Commit 390597d8 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

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

parents b0ddaa5a 3f44f983
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 end‐of‐life upstream and are no longer supported.
+0 −47
Original line number Diff line number Diff line
{
  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;
  };
}
+0 −23
Original line number Diff line number Diff line
{
  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";
  };
}
+0 −14
Original line number Diff line number Diff line
{
  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";
  };
}
+0 −12
Original line number Diff line number Diff line
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>
Loading