summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/development/python-modules/pyls-mypy/default.nix51
-rw-r--r--pkgs/top-level/aliases.nix1
-rw-r--r--pkgs/top-level/python-packages.nix2
3 files changed, 1 insertions, 53 deletions
diff --git a/pkgs/development/python-modules/pyls-mypy/default.nix b/pkgs/development/python-modules/pyls-mypy/default.nix
deleted file mode 100644
index 8c7db89d3b1..00000000000
--- a/pkgs/development/python-modules/pyls-mypy/default.nix
+++ /dev/null
@@ -1,51 +0,0 @@
-{ lib, buildPythonPackage, fetchFromGitHub, isPy27
-, future, python-language-server, mypy, configparser
-, pytestCheckHook, mock, pytest-cov, coverage
-, fetchpatch
-}:
-
-buildPythonPackage rec {
-  pname = "pyls-mypy";
-  version = "0.1.8";
-
-  src = fetchFromGitHub {
-    owner = "tomv564";
-    repo = "pyls-mypy";
-    rev = version;
-    sha256 = "14giyvcrq4w3asm1nyablw70zkakkcsr76chk5a41alxlk4l2alb";
-  };
-
-  # presumably tests don't find typehints ?
-  doCheck = false;
-
-  disabledTests = [
-    "test_parse_line_without_line"
-  ];
-
-  preCheck = ''
-    export HOME=$TEMPDIR
-  '';
-
-  patches = [
-    # makes future optional
-    (fetchpatch {
-      url = "https://github.com/tomv564/pyls-mypy/commit/2949582ff5f39b1de51eacc92de6cfacf1b5ab75.patch";
-      sha256 = "0bqkvdy5mxyi46nhq5ryynf465f68b6ffy84hmhxrigkapz085g5";
-    })
-  ];
-
-  nativeCheckInputs = [ mock pytest-cov coverage pytestCheckHook ];
-
-  propagatedBuildInputs = [
-    mypy python-language-server configparser
-  ] ++ lib.optionals (isPy27) [
-    future
-  ];
-
-  meta = with lib; {
-    homepage = "https://github.com/tomv564/pyls-mypy";
-    description = "Mypy plugin for the Python Language Server";
-    license = licenses.mit;
-    maintainers = [ ];
-  };
-}
diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix
index c7324ef60e7..d091a2eecc7 100644
--- a/pkgs/top-level/aliases.nix
+++ b/pkgs/top-level/aliases.nix
@@ -1275,6 +1275,7 @@ mapAliases ({
   pulseeffects = throw "Use pulseeffects-legacy if you use PulseAudio and easyeffects if you use PipeWire"; # Added 2021-02-13
   pulseeffects-pw = easyeffects; # Added 2021-07-07
   pyls-black = throw "pyls-black has been removed from nixpkgs. Use python-lsp-black instead."; # Added 2023-01-09
+  pyls-mypy = throw "pyls-mypy has been removed from nixpkgs. Use pylsp-mypy instead."; # Added 2023-01-09
   py-wmi-client = throw "py-wmi-client has been removed: abandoned by upstream"; # Added 2022-04-26
   pydb = throw "pydb has been removed: abandoned by upstream"; # Added 2022-04-22
   pyIRCt = throw "pyIRCt has been removed from nixpkgs as it is unmaintained and python2-only";
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 22f1620332f..8272597e28a 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -8319,8 +8319,6 @@ self: super: with self; {
 
   pyls-isort = callPackage ../development/python-modules/pyls-isort { };
 
-  pyls-mypy = callPackage ../development/python-modules/pyls-mypy { };
-
   pyls-spyder = callPackage ../development/python-modules/pyls-spyder { };
 
   pylsp-mypy = callPackage ../development/python-modules/pylsp-mypy { };