diff --git a/pkgs/development/python-modules/mask-rcnn/default.nix b/pkgs/development/python-modules/mask-rcnn/default.nix deleted file mode 100644 index 471b1fa61d42..000000000000 --- a/pkgs/development/python-modules/mask-rcnn/default.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ buildPythonPackage -, cython -, fetchFromGitHub -, fetchpatch -, h5py -, imgaug -, ipython -, keras -, lib -, matplotlib -, numpy -, opencv3 -, pillow -, scikit-image -, scipy -, tensorflow -}: - -buildPythonPackage rec { - pname = "mask-rcnn"; - version = "2.1"; - - src = fetchFromGitHub { - owner = "matterport"; - repo = "Mask_RCNN"; - rev = "3deaec5d902d16e1daf56b62d5971d428dc920bc"; - sha256 = "13s3q9yh2q9m9vyksd269mww3bni4q2w7q5l419q70ca075qp8zp"; - }; - - patches = [ - # Fix for TF2: - # https://github.com/matterport/Mask_RCNN/issues/2734 - (fetchpatch { - url = "https://github.com/BupyeongHealer/Mask_RCNN_tf_2.x/commit/7957839fe2b248f2f22c7e991ead12068ddc6cfc.diff"; - excludes = [ "mrcnn/model.py" ]; - hash = "sha256-70BGrx6X1uJDA2025f0YTlreT2uB3n35yIzuhf+ypVc="; - }) - ]; - - # Fix for recent Keras - postPatch = '' - substituteInPlace mrcnn/model.py \ - --replace "KE." "KL." - ''; - - nativeBuildInputs = [ cython ]; - - propagatedBuildInputs = [ - h5py - imgaug - ipython - keras - matplotlib - numpy - opencv3 - pillow - scikit-image - scipy - tensorflow - ]; - - meta = with lib; { - description = "Mask R-CNN for object detection and instance segmentation on Keras and TensorFlow"; - homepage = "https://github.com/matterport/Mask_RCNN"; - license = licenses.mit; - maintainers = with maintainers; [ rakesh4g ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 0f4cc1b4072e..e4e0e8ce968b 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -172,6 +172,7 @@ mapAliases ({ Mako = mako; # added 2023-02-19 Markups = markups; # added 2022-02-14 markdownsuperscript = throw "markdownsuperscript is unmaintained, use pymdown-extensions"; # added 2023-06-10 + mask-rcnn = throw "mask-rcnn has been removed as it is unmaintained and its dependency imgaug no longer builds"; # added 2023-07-10 MDP = mdp; # added 2023-02-19 MechanicalSoup = mechanicalsoup; # added 2021-06-01 memcached = python-memcached; # added 2022-05-06 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c38c49c9ada7..6e2e7621339e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6179,8 +6179,6 @@ self: super: with self; { mashumaro = callPackage ../development/python-modules/mashumaro { }; - mask-rcnn = callPackage ../development/python-modules/mask-rcnn { }; - masky = callPackage ../development/python-modules/masky { }; mastodon-py = callPackage ../development/python-modules/mastodon-py { };