nginx-language-server: 0.8.0 -> 0.9.0

Diff: https://github.com/pappasam/nginx-language-server/compare/refs/tags/v0.8.0...refs/tags/v0.9.0

Changelog: https://github.com/pappasam/nginx-language-server/blob/refs/tags/v0.9.0/CHANGELOG.md

+21 -9
+21 -9
pkgs/by-name/ng/nginx-language-server/package.nix
··· 1 1 { 2 2 lib, 3 - python3, 3 + python3Packages, 4 4 fetchFromGitHub, 5 + versionCheckHook, 6 + nix-update-script, 5 7 }: 6 8 7 - python3.pkgs.buildPythonApplication rec { 9 + python3Packages.buildPythonApplication rec { 8 10 pname = "nginx-language-server"; 9 - version = "0.8.0"; 11 + version = "0.9.0"; 10 12 pyproject = true; 11 13 12 14 src = fetchFromGitHub { 13 15 owner = "pappasam"; 14 16 repo = "nginx-language-server"; 15 17 tag = "v${version}"; 16 - hash = "sha256-AXWrNt4f3jkAbidE1goDgFicu4sSBv08f/Igyh2bRII="; 18 + hash = "sha256-v9+Y8NBvN8HvTdNrK9D9YQuqDB3olIu5LfYapjlVlAM="; 17 19 }; 18 20 19 - build-system = with python3.pkgs; [ 21 + build-system = with python3Packages; [ 20 22 poetry-core 21 23 ]; 22 24 ··· 24 26 "pydantic" 25 27 ]; 26 28 27 - dependencies = with python3.pkgs; [ 29 + dependencies = with python3Packages; [ 28 30 crossplane 29 31 lsprotocol 30 32 pydantic 31 33 pygls 34 + typing-extensions 32 35 ]; 33 36 34 37 pythonImportsCheck = [ "nginx_language_server" ]; 35 38 36 - meta = with lib; { 39 + nativeCheckInputs = [ 40 + versionCheckHook 41 + ]; 42 + versionCheckProgramArg = "--version"; 43 + 44 + passthru = { 45 + updateScript = nix-update-script { }; 46 + }; 47 + 48 + meta = { 37 49 description = "Language server for nginx.conf"; 38 50 homepage = "https://github.com/pappasam/nginx-language-server"; 39 51 changelog = "https://github.com/pappasam/nginx-language-server/blob/${src.rev}/CHANGELOG.md"; 40 - license = licenses.gpl3Only; 41 - maintainers = with maintainers; [ GaetanLepage ]; 52 + license = lib.licenses.gpl3Only; 53 + maintainers = with lib.maintainers; [ GaetanLepage ]; 42 54 mainProgram = "nginx-language-server"; 43 55 }; 44 56 }