depot/third_party/nixpkgs/pkgs/development/python-modules/pyls-flake8/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

34 lines
702 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flake8,
python-lsp-server,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pyls-flake8";
version = "0.4.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "emanspeaks";
repo = "pyls-flake8";
rev = "v{version}";
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 ];
};
}