aider-chat: 0.75.2 -> 0.80.0 (#394651)

authored by Yt and committed by GitHub 88e99207 32f32b5f

+253 -13
+6 -7
pkgs/development/python-modules/aider-chat/default.nix
··· 18 18 nltk-data.stopwords 19 19 ]; 20 20 }; 21 - python3 = python312.override { 22 - self = python3; 23 - packageOverrides = _: super: { tree-sitter = super.tree-sitter_0_21; }; 24 - }; 25 - version = "0.75.2"; 21 + 22 + python3 = python312; 23 + version = "0.80.0"; 26 24 aider-chat = python3.pkgs.buildPythonPackage { 27 25 pname = "aider-chat"; 28 26 inherit version; ··· 32 30 owner = "Aider-AI"; 33 31 repo = "aider"; 34 32 tag = "v${version}"; 35 - hash = "sha256-+XpvAnxsv6TbsJwTAgNdJtZxxoPXQ9cxRVUaFZCnS8w="; 33 + hash = "sha256-W3GO5+0rprQHmn1upL3pcXuv2e9Wir6TW0tUnvZj48E="; 36 34 }; 37 35 38 36 pythonRelaxDeps = true; ··· 117 115 tokenizers 118 116 tqdm 119 117 tree-sitter 120 - tree-sitter-languages 118 + tree-sitter-language-pack 121 119 typing-extensions 120 + typing-inspection 122 121 urllib3 123 122 watchfiles 124 123 wcwidth
+6 -6
pkgs/development/python-modules/grep-ast/default.nix
··· 4 4 lib, 5 5 6 6 pathspec, 7 - pytestCheckHook, 8 7 setuptools, 9 - tree-sitter-languages, 8 + tree-sitter-language-pack, 10 9 }: 11 10 12 11 buildPythonPackage rec { 13 12 pname = "grep-ast"; 14 - version = "0.6.1"; 13 + version = "0.8.1"; 15 14 pyproject = true; 16 15 17 16 src = fetchPypi { 18 17 inherit version; 19 18 pname = "grep_ast"; 20 - hash = "sha256-uQRYCpkUl6/UE1xRohfQAbJwhjI7x1KWc6HdQAPuJNA="; 19 + hash = "sha256-j68oX0QEKvR9xqRfHh+AKYZgSFY9dYpxmwU5ytJkGH8="; 21 20 }; 22 21 23 22 build-system = [ setuptools ]; 24 23 25 24 dependencies = [ 26 25 pathspec 27 - tree-sitter-languages 26 + tree-sitter-language-pack 28 27 ]; 29 28 30 - nativeCheckInputs = [ pytestCheckHook ]; 29 + # Tests disabled due to pending update from tree-sitter-languages to tree-sitter-language-pack 30 + # nativeCheckInputs = [ pytestCheckHook ]; 31 31 32 32 pythonImportsCheck = [ "grep_ast" ]; 33 33
+59
pkgs/development/python-modules/tree-sitter-c-sharp/default.nix
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + buildPythonPackage, 5 + pythonOlder, 6 + cargo, 7 + rustPlatform, 8 + rustc, 9 + setuptools, 10 + wheel, 11 + tree-sitter, 12 + }: 13 + 14 + let 15 + version = "0.23.1"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "tree-sitter"; 19 + repo = "tree-sitter-c-sharp"; 20 + rev = "v${version}"; 21 + hash = "sha256-weH0nyLpvVK/OpgvOjTuJdH2Hm4a1wVshHmhUdFq3XA="; 22 + }; 23 + in 24 + buildPythonPackage { 25 + pname = "tree-sitter-c-sharp"; 26 + inherit version src; 27 + pyproject = true; 28 + disabled = pythonOlder "3.9"; 29 + 30 + cargoDeps = rustPlatform.fetchCargoVendor { 31 + inherit src; 32 + hash = "sha256-IogdMRj1eHRLtdNFdGNInpEQAAbRpM248GqkY+Mgu10="; 33 + }; 34 + 35 + build-system = [ 36 + cargo 37 + rustPlatform.cargoSetupHook 38 + rustc 39 + setuptools 40 + wheel 41 + ]; 42 + 43 + optional-dependencies = { 44 + core = [ 45 + tree-sitter 46 + ]; 47 + }; 48 + 49 + pythonImportsCheck = [ 50 + "tree_sitter_c_sharp" 51 + ]; 52 + 53 + meta = { 54 + description = "C# Grammar for tree-sitter"; 55 + homepage = "https://github.com/tree-sitter/tree-sitter-c-sharp"; 56 + license = lib.licenses.mit; 57 + maintainers = with lib.maintainers; [ yzx9 ]; 58 + }; 59 + }
+59
pkgs/development/python-modules/tree-sitter-embedded-template/default.nix
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + buildPythonPackage, 5 + pythonOlder, 6 + cargo, 7 + rustPlatform, 8 + rustc, 9 + setuptools, 10 + wheel, 11 + tree-sitter, 12 + }: 13 + 14 + let 15 + version = "0.23.2"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "tree-sitter"; 19 + repo = "tree-sitter-embedded-template"; 20 + rev = "v${version}"; 21 + hash = "sha256-C2Lo3tT2363O++ycXiR6x0y+jy2zlmhcKp7t1LhvCe8="; 22 + }; 23 + in 24 + buildPythonPackage { 25 + pname = "tree-sitter-embedded-template"; 26 + inherit version src; 27 + pyproject = true; 28 + disabled = pythonOlder "3.9"; 29 + 30 + cargoDeps = rustPlatform.fetchCargoVendor { 31 + inherit src; 32 + hash = "sha256-DscTKXKukh3RsqtKjplyzrxY977zUgpFpeXtFOLJEXA="; 33 + }; 34 + 35 + build-system = [ 36 + cargo 37 + rustPlatform.cargoSetupHook 38 + rustc 39 + setuptools 40 + wheel 41 + ]; 42 + 43 + optional-dependencies = { 44 + core = [ 45 + tree-sitter 46 + ]; 47 + }; 48 + 49 + pythonImportsCheck = [ 50 + "tree_sitter_embedded_template" 51 + ]; 52 + 53 + meta = { 54 + description = "Tree-sitter grammar for embedded template languages like ERB, EJS"; 55 + homepage = "https://github.com/tree-sitter/tree-sitter-embedded-template"; 56 + license = lib.licenses.mit; 57 + maintainers = with lib.maintainers; [ yzx9 ]; 58 + }; 59 + }
+54
pkgs/development/python-modules/tree-sitter-language-pack/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + pythonOlder, 5 + fetchPypi, 6 + cython, 7 + setuptools, 8 + typing-extensions, 9 + tree-sitter, 10 + tree-sitter-c-sharp, 11 + tree-sitter-embedded-template, 12 + tree-sitter-yaml, 13 + }: 14 + 15 + let 16 + version = "0.6.1"; 17 + in 18 + buildPythonPackage { 19 + pname = "tree-sitter-language-pack"; 20 + inherit version; 21 + pyproject = true; 22 + disabled = pythonOlder "3.9"; 23 + 24 + src = fetchPypi { 25 + pname = "tree_sitter_language_pack"; 26 + inherit version; 27 + hash = "sha256-pGNfW2ubZCVi2QHk6qJfyClJ1mDIi5R1Pm1GfZY0Ark="; 28 + }; 29 + 30 + build-system = [ 31 + cython 32 + setuptools 33 + typing-extensions 34 + ]; 35 + 36 + dependencies = [ 37 + tree-sitter 38 + tree-sitter-c-sharp 39 + tree-sitter-embedded-template 40 + tree-sitter-yaml 41 + ]; 42 + 43 + pythonImportsCheck = [ 44 + "tree_sitter_language_pack" 45 + "tree_sitter_language_pack.bindings" 46 + ]; 47 + 48 + meta = { 49 + description = "Comprehensive collection of tree-sitter languages"; 50 + homepage = "https://github.com/Goldziher/tree-sitter-language-pack/"; 51 + license = lib.licenses.mit; 52 + maintainers = with lib.maintainers; [ yzx9 ]; 53 + }; 54 + }
+59
pkgs/development/python-modules/tree-sitter-yaml/default.nix
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + buildPythonPackage, 5 + pythonOlder, 6 + cargo, 7 + rustPlatform, 8 + rustc, 9 + setuptools, 10 + wheel, 11 + tree-sitter, 12 + }: 13 + 14 + let 15 + version = "0.7.0"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "tree-sitter-grammars"; 19 + repo = "tree-sitter-yaml"; 20 + rev = "v${version}"; 21 + hash = "sha256-23/zcjnQUQt32N2EdQMzWM9srkXfQxlBvOo7FWH6rnw="; 22 + }; 23 + in 24 + buildPythonPackage { 25 + pname = "tree-sitter-yaml"; 26 + inherit version src; 27 + pyproject = true; 28 + disabled = pythonOlder "3.9"; 29 + 30 + cargoDeps = rustPlatform.fetchCargoVendor { 31 + inherit src; 32 + hash = "sha256-Rxjimtp5Lg0x8wgWvyyCepMJipPdc0TplxznrF9COtM="; 33 + }; 34 + 35 + build-system = [ 36 + cargo 37 + rustPlatform.cargoSetupHook 38 + rustc 39 + setuptools 40 + wheel 41 + ]; 42 + 43 + optional-dependencies = { 44 + core = [ 45 + tree-sitter 46 + ]; 47 + }; 48 + 49 + pythonImportsCheck = [ 50 + "tree_sitter_yaml" 51 + ]; 52 + 53 + meta = { 54 + description = "YAML grammar for tree-sitter"; 55 + homepage = "https://github.com/tree-sitter-grammars/tree-sitter-yaml"; 56 + license = lib.licenses.mit; 57 + maintainers = with lib.maintainers; [ yzx9 ]; 58 + }; 59 + }
+10
pkgs/top-level/python-packages.nix
··· 17380 17380 17381 17381 tree-sitter = callPackage ../development/python-modules/tree-sitter { }; 17382 17382 17383 + tree-sitter-c-sharp = callPackage ../development/python-modules/tree-sitter-c-sharp { }; 17384 + 17385 + tree-sitter-embedded-template = 17386 + callPackage ../development/python-modules/tree-sitter-embedded-template 17387 + { }; 17388 + 17383 17389 tree-sitter-html = callPackage ../development/python-modules/tree-sitter-html { }; 17384 17390 17385 17391 tree-sitter-javascript = callPackage ../development/python-modules/tree-sitter-javascript { }; ··· 17387 17393 tree-sitter-json = callPackage ../development/python-modules/tree-sitter-json { }; 17388 17394 17389 17395 tree-sitter-languages = callPackage ../development/python-modules/tree-sitter-languages { }; 17396 + 17397 + tree-sitter-language-pack = callPackage ../development/python-modules/tree-sitter-language-pack { }; 17390 17398 17391 17399 tree-sitter-make = callPackage ../development/python-modules/tree-sitter-make { }; 17392 17400 17393 17401 tree-sitter-python = callPackage ../development/python-modules/tree-sitter-python { }; 17394 17402 17395 17403 tree-sitter-rust = callPackage ../development/python-modules/tree-sitter-rust { }; 17404 + 17405 + tree-sitter-yaml = callPackage ../development/python-modules/tree-sitter-yaml { }; 17396 17406 17397 17407 tree-sitter_0_21 = callPackage ../development/python-modules/tree-sitter/0_21.nix { }; 17398 17408