Unverified Commit 63bdca8f authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #237038 from fabaff/image-match-remove

python310Packages.image-match: remove
parents 36c00fdc f3d7f8af
Loading
Loading
Loading
Loading
+0 −35
Original line number Diff line number Diff line
{ lib, buildPythonPackage, fetchFromGitHub, pytest-runner, scikit-image }:

buildPythonPackage {
  pname = "image-match";
  version = "1.1.2";

  src = fetchFromGitHub {
    owner = "ascribe";
    repo = "image-match";
    rev = "1c5f3170555540bdf43ff8b8189c4e8c13a8b950";
    sha256 = "0vlmpidmhkpgdzw2k03x5layhijcrjpmyfd93yv2ls77ihz00ix5";
  };

  buildInputs = [ pytest-runner ];

  propagatedBuildInputs = [
    scikit-image
  ];

  # remove elasticsearch requirement due to version incompatibility
  postPatch = ''
    substituteInPlace setup.py --replace "'elasticsearch>=5.0.0,<6.0.0'," ""
  '';

  # tests cannot work without elasticsearch
  doCheck = false;
  pythonImportsCheck = [ "image_match" ];

  meta = with lib; {
    homepage = "https://github.com/ascribe/image-match";
    description = "Quickly search over billions of images";
    license = licenses.asl20;
    maintainers = with maintainers; [ cmcdragonkai ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -145,6 +145,7 @@ mapAliases ({
  ihatemoney = throw "ihatemoney was removed because it is no longer maintained downstream"; # added 2023-04-08
  IMAPClient = imapclient; # added 2021-10-28
  imdbpy = throw "imdbpy has been renamed to cinemagoer"; # added 2022-08-08
  image-match = throw "image-match has been removed because it is no longer maintained"; # added 2023-06-10
  intreehook =  throw "intreehooks has been removed because it is obsolete as a backend-path key was added to PEP 517"; # added 2023-04-11
  ipaddress = throw "ipaddress has been removed because it is no longer required since python 2.7."; # added 2022-05-30
  influxgraph = throw "influxgraph has been removed because it is no longer maintained"; # added 2022-07-10
+0 −2
Original line number Diff line number Diff line
@@ -4847,8 +4847,6 @@ self: super: with self; {

  image-go-nord = callPackage ../development/python-modules/image-go-nord { };

  image-match = callPackage ../development/python-modules/image-match { };

  imagesize = callPackage ../development/python-modules/imagesize { };

  imantics = callPackage ../development/python-modules/imantics { };