lol

python3Packages.python-lsp-jsonrpc: init at 1.0.0

+43
+41
pkgs/development/python-modules/python-lsp-jsonrpc/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pytestCheckHook 5 + , ujson 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "python-lsp-jsonrpc"; 10 + version = "1.0.0"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "python-lsp"; 14 + repo = pname; 15 + rev = "v${version}"; 16 + sha256 = "0h4bs8s4axcm0p02v59amz9sq3nr4zhzdgwq7iaw6awl27v1hd0i"; 17 + }; 18 + 19 + propagatedBuildInputs = [ 20 + ujson 21 + ]; 22 + 23 + checkInputs = [ 24 + pytestCheckHook 25 + ]; 26 + 27 + postPatch = '' 28 + substituteInPlace setup.cfg \ 29 + --replace "--cov-report html --cov-report term --junitxml=pytest.xml" "" \ 30 + --replace "--cov pylsp_jsonrpc --cov test" "" 31 + ''; 32 + 33 + pythonImportsCheck = [ "pylsp_jsonrpc" ]; 34 + 35 + meta = with lib; { 36 + description = "Python server implementation of the JSON RPC 2.0 protocol."; 37 + homepage = "https://github.com/python-lsp/python-lsp-jsonrpc"; 38 + license = licenses.mit; 39 + maintainers = with maintainers; [ fab ]; 40 + }; 41 + }
+2
pkgs/top-level/python-packages.nix
··· 6998 6999 python-louvain = callPackage ../development/python-modules/python-louvain { }; 7000 7001 python-ly = callPackage ../development/python-modules/python-ly { }; 7002 7003 python-lz4 = callPackage ../development/python-modules/python-lz4 { };
··· 6998 6999 python-louvain = callPackage ../development/python-modules/python-louvain { }; 7000 7001 + python-lsp-jsonrpc = callPackage ../development/python-modules/python-lsp-jsonrpc { }; 7002 + 7003 python-ly = callPackage ../development/python-modules/python-ly { }; 7004 7005 python-lz4 = callPackage ../development/python-modules/python-lz4 { };