diff --git a/pkgs/by-name/pd/pdfslicer/package.nix b/pkgs/by-name/pd/pdfslicer/package.nix deleted file mode 100644 index de9635d0b3bb..000000000000 --- a/pkgs/by-name/pd/pdfslicer/package.nix +++ /dev/null @@ -1,70 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - cmake, - gettext, - intltool, - pkg-config, - wrapGAppsHook3, - gtkmm3, - libuuid, - poppler, - qpdf, -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "pdfslicer"; - version = "1.8.8"; - - src = fetchFromGitHub { - owner = "junrrein"; - repo = "pdfslicer"; - tag = "v${finalAttrs.version}"; - fetchSubmodules = true; - sha256 = "0sja0ddd9c8wjjpzk2ag8q1lxpj09adgmhd7wnsylincqnj2jyls"; - }; - - postPatch = '' - # Don't build tests, vendored catch doesn't build with latest glibc. - substituteInPlace CMakeLists.txt \ - --replace "add_subdirectory (tests)" "" - - # Replace deprecated and now unsupported old cmake version - # https://github.com/NixOS/nixpkgs/issues/445447 - - substituteInPlace third-party/fmtlib/CMakeLists.txt \ - --replace-fail "cmake_minimum_required(VERSION 3.1.0)" \ - "cmake_minimum_required(VERSION 3.10)" - substituteInPlace third-party/GSL/CMakeLists.txt \ - --replace-fail "cmake_minimum_required(VERSION 3.1.3)" \ - "cmake_minimum_required(VERSION 3.10)" - ''; - - nativeBuildInputs = [ - cmake - gettext - intltool - pkg-config - wrapGAppsHook3 - ]; - - buildInputs = [ - gtkmm3 - libuuid - poppler - qpdf - ]; - - env = lib.optionalAttrs (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "13") { - # Pending upstream compatibility with GCC 13 - CXXFLAGS = "-Wno-changes-meaning"; - }; - - meta = { - description = "Simple application to extract, merge, rotate and reorder pages of PDF documents"; - homepage = "https://junrrein.github.io/pdfslicer/"; - license = lib.licenses.gpl3Plus; - maintainers = with lib.maintainers; [ dotlambda ]; - }; -}) diff --git a/pkgs/by-name/qp/qpdf/package.nix b/pkgs/by-name/qp/qpdf/package.nix index a3dbe20104b6..d24e78fb7e35 100644 --- a/pkgs/by-name/qp/qpdf/package.nix +++ b/pkgs/by-name/qp/qpdf/package.nix @@ -11,7 +11,6 @@ # for passthru.tests cups-filters, pdfmixtool, - pdfslicer, python3, testers, versionCheckHook, @@ -80,7 +79,6 @@ stdenv.mkDerivation (finalAttrs: { inherit cups-filters pdfmixtool - pdfslicer ; }; diff --git a/pkgs/development/libraries/poppler/default.nix b/pkgs/development/libraries/poppler/default.nix index e4a63b691829..686d4a3715e3 100644 --- a/pkgs/development/libraries/poppler/default.nix +++ b/pkgs/development/libraries/poppler/default.nix @@ -39,7 +39,6 @@ gdal, gegl, inkscape, - pdfslicer, scribus, vips, testers, @@ -168,7 +167,6 @@ stdenv.mkDerivation (finalAttrs: { inherit gegl - pdfslicer vips ; gdal = gdal.override { usePoppler = true; }; diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 88c5ee8d483b..2e6645f44f9e 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1546,6 +1546,7 @@ mapAliases { pcsctools = throw "'pcsctools' has been renamed to/replaced by 'pcsc-tools'"; # Converted to throw 2025-10-27 pdf2djvu = throw "pdf2djvu has been removed because it was broken and archived upstream"; # added 2025-12-06 pdf4tcl = throw "'pdf4tcl' has been renamed to/replaced by 'tclPackages.pdf4tcl'"; # Converted to throw 2025-10-27 + pdfslicer = throw "'pdfslicer' has been removed because it was broken and abandoned upstream"; # added 2026-03-26 pds = warnAlias "'pds' has been renamed to 'bluesky-pds'" bluesky-pds; # Added 2025-08-20 pdsadmin = warnAlias "'pdsadmin' has been renamed to 'bluesky-pdsadmin'" bluesky-pdsadmin; # Added 2025-08-20 peach = throw "'peach' has been renamed to/replaced by 'asouldocs'"; # Converted to throw 2025-10-27