about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-mock
diff options
context:
space:
mode:
authorRobert Schütz <nix@dotlambda.de>2021-12-31 08:10:25 +0000
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-01-01 02:10:53 +0100
commit2cae050057e56b5e33ddfc28449013061eb3b604 (patch)
treed9335d65559283f17ccecc69a55408c52dc69779 /pkgs/development/python-modules/pytest-mock
parent4beaf5301df522276e169ab74614134ec9f5ecd3 (diff)
python2Packages: remove superfluous overrides
Since Python 2 is not supported anymore we only keep those overrides
which are used by leaf packages.
Diffstat (limited to 'pkgs/development/python-modules/pytest-mock')
-rw-r--r--pkgs/development/python-modules/pytest-mock/2.nix39
1 files changed, 0 insertions, 39 deletions
diff --git a/pkgs/development/python-modules/pytest-mock/2.nix b/pkgs/development/python-modules/pytest-mock/2.nix
deleted file mode 100644
index 3ccaa7481d7de..0000000000000
--- a/pkgs/development/python-modules/pytest-mock/2.nix
+++ /dev/null
@@ -1,39 +0,0 @@
-{ lib
-, buildPythonPackage
-, fetchPypi
-, isPy3k
-, pytest
-, mock
-, setuptools-scm
-}:
-
-buildPythonPackage rec {
-  pname = "pytest-mock";
-  version = "2.0.0";
-
-  src = fetchPypi {
-    inherit pname version;
-    sha256 = "b35eb281e93aafed138db25c8772b95d3756108b601947f89af503f8c629413f";
-  };
-
-  propagatedBuildInputs = lib.optional (!isPy3k) mock;
-
-  nativeBuildInputs = [
-   setuptools-scm
-  ];
-
-  checkInputs = [
-    pytest
-  ];
-
-  checkPhase = ''
-    pytest
-  '';
-
-  meta = with lib; {
-    description = "Thin-wrapper around the mock package for easier use with py.test.";
-    homepage    = "https://github.com/pytest-dev/pytest-mock";
-    license     = licenses.mit;
-    maintainers = with maintainers; [ ];
-  };
-}