2018-05-24 12:52:59 +01:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub
|
2021-07-22 12:17:04 +01:00
|
|
|
, python-lsp-server, isort
|
2018-05-24 12:52:59 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyls-isort";
|
2021-07-22 12:17:04 +01:00
|
|
|
version = "0.2.2";
|
2018-05-24 12:52:59 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "paradoxxxzero";
|
|
|
|
repo = "pyls-isort";
|
2021-07-22 12:17:04 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0xba0aiyjfdi9swjzxk26l94dwlwvn17kkfjfscxl8gvspzsn057";
|
2018-05-24 12:52:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-07-23 14:29:03 +01:00
|
|
|
pythonImportsCheck = [ "pyls_isort" ];
|
|
|
|
|
2018-05-24 12:52:59 +01:00
|
|
|
propagatedBuildInputs = [
|
2021-07-22 12:17:04 +01:00
|
|
|
isort python-lsp-server
|
2018-05-24 12:52:59 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/paradoxxxzero/pyls-isort";
|
2021-07-22 12:17:04 +01:00
|
|
|
description = "Isort plugin for python-lsp-server";
|
2018-05-24 12:52:59 +01:00
|
|
|
license = licenses.mit;
|
2021-07-22 12:17:04 +01:00
|
|
|
maintainers = with maintainers; [ cpcloud ];
|
2018-05-24 12:52:59 +01:00
|
|
|
};
|
|
|
|
}
|