1{ lib 2, black 3, buildPythonPackage 4, fetchFromGitHub 5, pytestCheckHook 6, python-lsp-server 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "python-lsp-black"; 12 version = "1.0.0"; 13 disabled = pythonOlder "3.6"; 14 15 src = fetchFromGitHub { 16 owner = "python-lsp"; 17 repo = "python-lsp-black"; 18 rev = "v${version}"; 19 sha256 = "1blxhj70jxb9xfbd4dxqikd262n6dn9dw5qhyml5yvdwxbv0bybc"; 20 }; 21 22 checkInputs = [ pytestCheckHook ]; 23 24 propagatedBuildInputs = [ black python-lsp-server ]; 25 26 meta = with lib; { 27 homepage = "https://github.com/python-lsp/python-lsp-black"; 28 description = "Black plugin for the Python LSP Server"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ cpcloud ]; 31 }; 32}