2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
flake8,
|
|
|
|
python-lsp-server,
|
|
|
|
pythonOlder,
|
2021-07-24 12:14:16 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyls-flake8";
|
|
|
|
version = "0.4.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-07-24 12:14:16 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "emanspeaks";
|
|
|
|
repo = "pyls-flake8";
|
2021-08-05 21:33:18 +00:00
|
|
|
rev = "v{version}";
|
2021-07-24 12:14:16 +00:00
|
|
|
sha256 = "14wkmwh8mqr826vdzxhvhdwrnx2akzmnbv3ar391qs4imwqfjx3l";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
flake8
|
|
|
|
python-lsp-server
|
|
|
|
];
|
2021-07-24 12:14:16 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/emanspeaks/pyls-flake8";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Flake8 plugin for the Python LSP Server";
|
2021-07-24 12:14:16 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ cpcloud ];
|
|
|
|
};
|
|
|
|
}
|