mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 01:33:20 +00:00
pylsp-mypy: init at 0.5.1 (#130642)
Co-authored-by: Jonathan Ringer <jonringer@users.noreply.github.com> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
da9f3c0598
commit
61e0f21153
33
pkgs/development/python-modules/pylsp-mypy/default.nix
Normal file
33
pkgs/development/python-modules/pylsp-mypy/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, mock
|
||||
, mypy
|
||||
, pytestCheckHook
|
||||
, python-lsp-server
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pylsp-mypy";
|
||||
version = "0.5.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Richardk2n";
|
||||
repo = "pylsp-mypy";
|
||||
rev = version;
|
||||
sha256 = "1d119csj1k5m9j0f7wdvpvnd02h548css6ybxqah92nk2v0rjscr";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook mock ];
|
||||
|
||||
propagatedBuildInputs = [ mypy python-lsp-server ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Richardk2n/pylsp-mypy";
|
||||
description = "Mypy plugin for the Python LSP Server";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ cpcloud ];
|
||||
};
|
||||
}
|
@ -6180,6 +6180,8 @@ in {
|
||||
|
||||
pyls-spyder = callPackage ../development/python-modules/pyls-spyder { };
|
||||
|
||||
pylsp-mypy = callPackage ../development/python-modules/pylsp-mypy { };
|
||||
|
||||
PyLTI = callPackage ../development/python-modules/pylti { };
|
||||
|
||||
pylutron = callPackage ../development/python-modules/pylutron { };
|
||||
|
Loading…
Reference in New Issue
Block a user