3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pyls-isort/default.nix
Sandro b5db65711c
Merge pull request #131239 from SuperSandro2000/SuperSandro2000-patch-1
python39Packages.pyls-isort: add pythonImportsCheck
2021-07-23 18:01:00 +02:00

32 lines
685 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub
, python-lsp-server, isort
}:
buildPythonPackage rec {
pname = "pyls-isort";
version = "0.2.2";
src = fetchFromGitHub {
owner = "paradoxxxzero";
repo = "pyls-isort";
rev = "v${version}";
sha256 = "0xba0aiyjfdi9swjzxk26l94dwlwvn17kkfjfscxl8gvspzsn057";
};
# no tests
doCheck = false;
pythonImportsCheck = [ "pyls_isort" ];
propagatedBuildInputs = [
isort python-lsp-server
];
meta = with lib; {
homepage = "https://github.com/paradoxxxzero/pyls-isort";
description = "Isort plugin for python-lsp-server";
license = licenses.mit;
maintainers = with maintainers; [ cpcloud ];
};
}