about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyls-flake8/default.nix
blob: 8f402cd922166a0b73561505782373b56fbff833 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  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 ];
  };
}