diff --git a/pkgs/by-name/ni/nip2/package.nix b/pkgs/by-name/ni/nip2/package.nix deleted file mode 100644 index f20cef494d57..000000000000 --- a/pkgs/by-name/ni/nip2/package.nix +++ /dev/null @@ -1,81 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - fetchpatch, - autoreconfHook, - pkg-config, - glib, - libxml2, - flex, - bison, - vips, - gtk2, - fftw, - gsl, - goffice, - libgsf, - makeWrapper, -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "nip2"; - version = "8.9.1"; - - src = fetchFromGitHub { - owner = "libvips"; - repo = "nip2"; - tag = "v${finalAttrs.version}"; - hash = "sha256-SemlINqrqzWa7/sU6KnWiDJW8FLSYVZnCDtJNE0wjhg="; - }; - - patches = [ - (fetchpatch { - name = "do-not-redeclare-statfs.patch"; - url = "https://github.com/libvips/nip2/commit/045268a78c40d7f546220504f971c728aebc00be.patch"; - hash = "sha256-A17+/Vmjf0l1Jpl22VL11gj5m6oFB8DnvkH2EHiRTw8="; - }) - (fetchpatch { - name = "declare-function-arguments-for-function-pointer.patch"; - url = "https://github.com/libvips/nip2/commit/8c60c517b59f806da84d57cb1d083a213b811151.patch"; - hash = "sha256-o5OHNSbUORGquhyCYCtGQTY74IfroByaa0UAXYsP484="; - }) - ]; - - nativeBuildInputs = [ - autoreconfHook - bison - flex - pkg-config - makeWrapper - glib - ]; - - preAutoreconf = '' - glib-gettextize --force --copy - ''; - - buildInputs = [ - glib - libxml2 - vips - gtk2 - fftw - gsl - goffice - libgsf - ]; - - postFixup = '' - wrapProgram $out/bin/nip2 --set VIPSHOME "$out" - ''; - - meta = { - homepage = "https://github.com/libvips/nip2"; - description = "Graphical user interface for VIPS image processing system"; - license = lib.licenses.gpl2Plus; - maintainers = with lib.maintainers; [ kovirobi ]; - platforms = lib.platforms.unix; - mainProgram = "nip2"; - }; -}) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 9e05954c49bf..73efb15c4bc4 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1724,6 +1724,7 @@ mapAliases { nim_2_0 = throw "'nim_2_0' has been upgraded and removed, please use 'nim'"; # Added 2026-03-06 nim_2_2 = throw "'nim_2_2' has been upgraded and removed, please use 'nim'"; # Added 2026-03-06 nimbo = throw "'nimbo' has been removed due to being archived upstream."; # Added 2026-01-18 + nip2 = throw "'nip2' has been removed due to lack of maintenance and relying on gtk2."; nitrokey-fido2-firmware = throw "'nitrokey-fido2-firmware' has been removed as it was broken and unmaintained upstream since 2022"; # Added 2026-03-23 nix-direnv-flakes = throw "'nix-direnv-flakes' has been renamed to/replaced by 'nix-direnv'"; # Converted to throw 2025-10-27 nix-ld-rs = throw "'nix-ld-rs' has been renamed to/replaced by 'nix-ld'"; # Converted to throw 2025-10-27