Unverified Commit 7a94954d authored by dish's avatar dish Committed by GitHub
Browse files

python3Packages.{pyheif, heif-image-plugin}: drop (#443260)

parents 8c01e6a3 c104adb7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -180,6 +180,10 @@
  NEWS can be viewed from Emacs by typing `C-h n`, or by clicking `Help->Emacs News` from the menu bar.
  It can also be browsed [online](https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-30).

- `python3Packages.heif-image-plugin` has been dropped due to lack of upstream maintenance and breakage. Use `python3Packages.pillow-heif` instead.

- `python3Packages.pyheif` has been dropped due to lack of upstream maintenance and breakage. Use `python3Packages.pillow-heif` instead.

## Other Notable Changes {#sec-nixpkgs-release-25.11-notable-changes}

<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
+0 −34
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  cffi,
  piexif,
  pillow,
}:

buildPythonPackage rec {
  pname = "heif-image-plugin";
  version = "0.6.2";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "uploadcare";
    repo = "heif-image-plugin";
    rev = "v${version}";
    hash = "sha256-SlnnlBscNelNH0XkOenq3nolyqzRMK10SzVii61Moi4=";
  };

  propagatedBuildInputs = [
    cffi
    piexif
    pillow
  ];

  meta = {
    description = "Simple HEIF/HEIC images plugin for Pillow base on pyhief library";
    homepage = "https://github.com/uploadcare/heif-image-plugin";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ ratcornu ];
  };
}
+0 −45
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  cffi,
  libheif,
  piexif,
  pillow,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "pyheif";
  version = "0.8.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "carsales";
    repo = "pyheif";
    tag = "release-${version}";
    hash = "sha256-7De8ekDceSkUcOgK7ppKad5W5qE0yxdS4kbgYVjxTGg=";
  };

  build-system = [ setuptools ];

  buildInputs = [ libheif ];

  dependencies = [ cffi ];

  pythonImportsCheck = [ "pyheif" ];

  nativeCheckInputs = [
    piexif
    pillow
    pytestCheckHook
  ];

  meta = with lib; {
    homepage = "https://github.com/carsales/pyheif";
    description = "Python interface to libheif library";
    license = licenses.asl20;
    maintainers = [ ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -337,6 +337,7 @@ mapAliases ({
  hbmqtt = throw "hbmqtt was removed because it is no longer maintained"; # added 2021-11-07
  hcs_utils = hcs-utils; # added 2024-01-06
  hdlparse = throw "hdlparse has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
  heif-image-plugin = throw "heif-image-plugin has been removed due to lack of upstream maintenance and breakage. Use `pillow-heif` instead."; # added 2025-09-17
  hglib = python-hglib; # added 2023-10-13
  hijri-converter = hijridate; # added 2025-08-07
  hkdf = throw "hkdf has been removed, as it is no longer maintained upstream."; # added 2024-10-04
@@ -577,6 +578,7 @@ mapAliases ({
  pygbm = throw "pygbm has been removed, since it is abandoned and broken"; # added 2023-06-20
  PyGithub = pygithub; # added 2023-02-19
  pyGtkGlade = throw "Glade support for pygtk has been removed"; # added 2022-01-15
  pyheif = throw "pyheif has been removed due to lack of upstream maintenance and breakage. Use `pillow-heif` instead."; # added 2025-09-17
  pycallgraph = throw "pycallgraph has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
  pychef = throw "pychef has been removed because it's been archived upstream and abandoned since 2017."; # added 2022-11-14
  PyChromecast = pychromecast; # added 2023-02-19
+0 −4
Original line number Diff line number Diff line
@@ -6564,8 +6564,6 @@ self: super: with self; {
  hebg = callPackage ../development/python-modules/hebg { };
  heif-image-plugin = callPackage ../development/python-modules/heif-image-plugin { };
  help2man = callPackage ../development/python-modules/help2man { };
  helpdev = callPackage ../development/python-modules/helpdev { };
@@ -13140,8 +13138,6 @@ self: super: with self; {
  pyheck = callPackage ../development/python-modules/pyheck { };
  pyheif = callPackage ../development/python-modules/pyheif { };
  pyheos = callPackage ../development/python-modules/pyheos { };
  pyhepmc = callPackage ../development/python-modules/pyhepmc { };