python311Packages.pylsp-mypy: clean package

This commit is contained in:
Gaetan Lepage 2024-07-18 10:26:38 +02:00
parent 6af07f6660
commit 38ebef00d8

View File

@ -1,21 +1,25 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
mypy,
pytestCheckHook,
python-lsp-server,
pythonOlder,
tomli,
}:
buildPythonPackage rec {
pname = "pylsp-mypy";
version = "0.6.8";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "python-lsp";
@ -24,9 +28,9 @@ buildPythonPackage rec {
hash = "sha256-oEWUXkE8U7/ye6puJZRSkQFi10BPGuc8XZQbHwqOPEI=";
};
nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];
propagatedBuildInputs = [
dependencies = [
mypy
python-lsp-server
tomli
@ -41,10 +45,11 @@ buildPythonPackage rec {
"test_option_overrides_dmypy"
];
meta = with lib; {
meta = {
description = "Mypy plugin for the Python LSP Server";
homepage = "https://github.com/python-lsp/pylsp-mypy";
license = licenses.mit;
maintainers = with maintainers; [ cpcloud ];
changelog = "https://github.com/python-lsp/pylsp-mypy/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ cpcloud ];
};
}