mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 18:54:42 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
31 lines
684 B
Nix
31 lines
684 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 ];
|
|
};
|
|
}
|