forked from mirrors/nixpkgs
pyls-flake8: init at 0.4.0
This commit is contained in:
parent
d1aa855491
commit
cafa8febea
29
pkgs/development/python-modules/pyls-flake8/default.nix
Normal file
29
pkgs/development/python-modules/pyls-flake8/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, flake8
|
||||
, python-lsp-server
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyls-flake8";
|
||||
version = "0.4.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "emanspeaks";
|
||||
repo = "pyls-flake8";
|
||||
rev = "3df8606ad821100e64743f457c77c20170bde722";
|
||||
sha256 = "14wkmwh8mqr826vdzxhvhdwrnx2akzmnbv3ar391qs4imwqfjx3l";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ flake8 python-lsp-server ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/emanspeaks/pyls-flake8";
|
||||
description = "A Flake8 plugin for the Python LSP Server.";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ cpcloud ];
|
||||
};
|
||||
}
|
|
@ -6181,6 +6181,8 @@ in {
|
|||
|
||||
pyls-black = callPackage ../development/python-modules/pyls-black { };
|
||||
|
||||
pyls-flake8 = callPackage ../development/python-modules/pyls-flake8 { };
|
||||
|
||||
pyls-isort = callPackage ../development/python-modules/pyls-isort { };
|
||||
|
||||
pyls-mypy = callPackage ../development/python-modules/pyls-mypy { };
|
||||
|
|
Loading…
Reference in a new issue