nixpkgs/pkgs/development/python-modules/pyls-isort/default.nix

32 lines
685 B
Nix
Raw Normal View History

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;
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; {
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
};
}