Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchFromGitHub 2, python-lsp-server, isort 3}: 4 5buildPythonPackage rec { 6 pname = "pyls-isort"; 7 version = "0.2.2"; 8 9 src = fetchFromGitHub { 10 owner = "paradoxxxzero"; 11 repo = "pyls-isort"; 12 rev = "v${version}"; 13 sha256 = "0xba0aiyjfdi9swjzxk26l94dwlwvn17kkfjfscxl8gvspzsn057"; 14 }; 15 16 # no tests 17 doCheck = false; 18 19 pythonImportsCheck = [ "pyls_isort" ]; 20 21 propagatedBuildInputs = [ 22 isort python-lsp-server 23 ]; 24 25 meta = with lib; { 26 homepage = "https://github.com/paradoxxxzero/pyls-isort"; 27 description = "Isort plugin for python-lsp-server"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ cpcloud ]; 30 }; 31}