python310Packages.mox: remove

- unmaintained for over a decade
- no python 3.11 support (AttributeError: module 'inspect' has no
  attribute 'getargspec')
- replaced by mock
This commit is contained in:
Fabian Affolter 2023-02-23 00:48:35 +01:00
parent 4375ddbf1f
commit 0cbae1a9f1
3 changed files with 1 additions and 43 deletions

View file

@ -1,41 +0,0 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, six
}:
buildPythonPackage rec {
pname = "mox";
version = "0.7.8";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "ivancrneto";
repo = "pymox";
rev = "v${version}";
hash = "sha256-gODE9IGDk3WtO8iPOlp98fGp6Ih2laA3YlOHmq62m8Y=";
};
propagatedBuildInputs = [
six
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"mox"
];
meta = with lib; {
description = "Mock object framework";
homepage = "https://github.com/ivancrneto/pymox";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}

View file

@ -130,6 +130,7 @@ mapAliases ({
mailman-web = throw "Please use pkgs.mailman-web"; # added 2022-04-29
mistune_0_8 = throw "mistune_0_8 was removed because it was outdated and insecure"; # added 2022-08-12
mistune_2_0 = mistune; # added 2022-08-12
mox = throw "mox was removed because it is unmaintained"; # added 2023-02-21
mutmut = throw "mutmut has been promoted to a top-level attribute"; # added 2022-10-02
net2grid = gridnet; # add 2022-04-22
nose-cover3 = throw "nose-cover3 has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-02-16

View file

@ -6074,8 +6074,6 @@ self: super: with self; {
mox3 = callPackage ../development/python-modules/mox3 { };
mox = callPackage ../development/python-modules/mox { };
mpd2 = callPackage ../development/python-modules/mpd2 { };
mpi4py = callPackage ../development/python-modules/mpi4py { };